/**
 * Theme styles — header, footer, templates, sections, page-specific styling.
 *
 * Global foundation styles live in general.css.
 */

/* Site Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: transparent;
	transition: background-color 0.3s ease, color 0.3s ease;
	width: 100%;
}

.site-header__bar {
	position: relative;
	z-index: 3;
}

.site-header__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding:10px 15px;
	gap: 24px;
}

.site-header__logo {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
}

.site-header__logo-mark {
	display: none;
	line-height: 0;
}

.site-header__logo-img {
	display: block;
	width: auto;
	height: 42px;
	max-width: 120px;
	transition: .4s;
}

.site-header__nav--desktop {
	display: none;
	margin-left: auto;
}

.site-header__menu {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu a {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-header__menu a:hover,
.site-header__menu a:focus-visible {
	opacity: 0.7;
}

.site-header--light .site-header__logo-mark--light,
.site-header--dark .site-header__logo-mark--dark {
	display: block;
}

.site-header--light .site-header__menu a {
	color: var(--color-text-inverse);
}

.site-header.is-scrolled {
	background-color: var(--color-bg);
}

.site-header.is-scrolled .site-header__logo-mark--light {
	display: none;
}

.site-header.is-scrolled .site-header__logo-mark--dark {
	display: block;
}

.site-header__toggle {
	position: relative;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.site-header__toggle-line {
	position: absolute;
	left: 50%;
	width: 26px;
	height: 2px;
	margin-left: -13px;
	background-color: currentColor;
	transform-origin: center center;
	transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}

.site-header__toggle-line--top {
	top: calc(50% - 5px);
}

.site-header__toggle-line--bottom {
	top: calc(50% + 5px);
}

.site-header--light .site-header__toggle {
	color: var(--color-text-inverse);
}

.site-header--dark .site-header__toggle {
	color: var(--color-text);
}

.site-header.is-scrolled .site-header__toggle {
	color: var(--color-text);
}

.site-header.is-menu-open .site-header__toggle {
	color: var(--color-text-inverse);
}

.site-header.is-menu-open .site-header__toggle-line--top {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.site-header.is-menu-open .site-header__toggle-line--bottom {
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}

.site-header__mobile {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	height: 100%;
	z-index: 1;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
}

.site-header__panels {
	position: absolute;
	inset: 0;
	height: 100%;
	min-height: 100dvh;
	overflow: visible;
	pointer-events: none;
	z-index: 1;
}

.site-header__panel {
	position: absolute;
	left: -15%;
	width: 130%;
	height: 100%;
	background-color: var(--color-bg-dark);
	z-index: 1;
}

.site-header__panel--top {
	top: 0;
	transform: translate3d(0, -100%, 0) skewY(-6deg);
	transform-origin: top left;
}

.site-header__panel--bottom {
	bottom: 0;
	transform: translate3d(0, 100%, 0) skewY(-6deg);
	transform-origin: bottom right;
}

.site-header__nav--mobile {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 96px 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.site-header__menu--mobile {
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.site-header__menu--mobile a {
	font-family: var(--font-display);
	font-size: clamp(28px, 6vw, 42px);
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-text-inverse);
}

.site-header.is-menu-open .site-header__mobile {
	visibility: visible;
	pointer-events: auto;
}

.site-header.is-menu-open .site-header__nav--mobile {
	pointer-events: auto;
}

.site-header.is-menu-open .site-header__logo-mark--light {
	display: block;
}

.site-header.is-menu-open .site-header__logo-mark--dark {
	display: none;
}

body.is-menu-open {
	overflow: hidden;
}

body.header-dark main{
	margin-top: 100px;
}

@media (min-width: 1024px) {
	.site-header__logo-img {
		height: 48px;
		max-width: 140px;
	}

	.site-header__nav--desktop {
		display: block;
	}

	.site-header__toggle,
	.site-header__mobile {
		display: none;
	}

	.site-header.is-scrolled .site-header__menu a {
		color: var(--color-text);
	}

	.site-header--dark .site-header__menu a {
		color: var(--color-text);
	}
}

/* Hero Banner — general-hero-banner.php */
.general-hero-banner .image-wrapper {
	position: relative;
	width: 100%;
	height: 260px;
	overflow: hidden;
}

.contact-page .general-hero-banner .image-wrapper:after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

@media (min-width: 767px) {
	.general-hero-banner .image-wrapper {
		height: 500px;
		max-height: 500px;
	}
}

/* About Hero — about-hero-screen.php */
.about-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--color-bg-dark);
	color: var(--color-text-inverse);
}

.about-hero,
.about-hero__container {
	min-height: clamp(520px, 100vh, 700px);
}

@media (max-width: 849px) {
	.about-hero,
	.about-hero__container {
		min-height: 100dvh;
		min-height: 100svh;
	}
}

.about-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
	line-height: 0;
}

.about-hero__media--desktop {
	display: none;
}

.about-hero__media--mobile {
	display: block;
}

.about-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.about-hero__container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding-top: 140px;
	padding-bottom: 50px;
}

.about-hero__title-wrap {
	width: 100%;
	text-align: center;
}

.about-hero .screen-title {
	margin: 0 auto;
	text-align: center;
	color: var(--color-text-inverse);
	max-width: 800px;
}

.about-hero__description {
	width: 100%;
	text-align: center;
	max-width: 570px;
}

.about-hero__description,
.about-hero__description p{
	font-family: var(--font-display);
	font-style: italic;
	text-transform: uppercase;
}

.about-hero__description strong, .about-hero__description b{
	font-style: normal;
}

.about-hero__description p {
	margin: 0;
}

@media (min-width: 768px) {
	.about-hero,
	.about-hero__container {
		min-height: clamp(520px, 50vh, 600px);
	}

	.about-hero__media--desktop {
		display: block;
	}

	.about-hero__media--mobile {
		display: none;
	}

	.about-hero__container {
		padding-top: 100px;
		padding-bottom: 70px;
	}

	.about-hero .screen-title{
		font-size: 50px;
	}
}

@media(min-width:1280px){
	.about-hero,
	.about-hero__container {
		min-height: clamp(520px, 115vh, 1200px);
	}

	.about-hero__container{
		padding-top: 160px;
	}

	.about-hero .screen-title{
		font-size: 90px;
	}
}

/* Homepage Hero — homepage-hero-screen.php */
@media (prefers-reduced-motion: no-preference) and (min-width: 850px) {
	html.js .homepage-hero .homepage-hero__slide:first-child .homepage-hero__title.js-animate-ready,
	html.js .homepage-hero .homepage-hero__slide:first-child .homepage-hero__description.js-animate-ready,
	html.js .homepage-hero .homepage-hero__slide:first-child .homepage-hero__button.js-animate-ready,
	html.js .about-hero .about-hero__title-wrap .screen-title.js-animate-ready {
		opacity: 0;
		visibility: hidden;
	}

	/* Let GSAP own transform/opacity during hero intro; .btn transition:.4s otherwise fights y/autoAlpha tweens */
	html.js .homepage-hero .homepage-hero__slide:first-child .homepage-hero__button.js-animate-ready {
		transition: background-color 0.4s ease, color 0.4s ease, padding 0.4s ease;
	}
}

@media (max-width: 849px) {
	.homepage-hero,
	.homepage-hero__swiper,
	.homepage-hero__slide {
		min-height: 100dvh;
		min-height: 100svh;
	}
}

.homepage-hero {
	position: relative;
	overflow: hidden;
	color: var(--color-text-inverse);
	background-color: var(--color-bg-dark);
}

.homepage-hero__swiper {
	width: 100%;
	height: 100%;
}

.homepage-hero__slide {
	position: relative;
	height: 100%;
}

.homepage-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
	line-height: 0;
}

.homepage-hero__img,
.homepage-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.homepage-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.homepage-hero__container {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: inherit;
	padding-top: 90px;
	padding-bottom: 50px;
	justify-content: center;
	text-align: center;
}

.homepage-hero:has(.homepage-hero__controls) .homepage-hero__container {
	padding-bottom: 80px;
}

.homepage-hero__content {
	width: 100%;
	max-width: 600px;
}

.homepage-hero .screen-title,
.homepage-hero__title {
	color: var(--color-text-inverse);
}

.homepage-hero__description {
	font-size: 18px;
}

.homepage-hero__button {
	margin-top: 30px;
}

.homepage-hero__controls {
	position: absolute;
	inset-block-end: 0;
	inset-block-start: auto;
	inset-inline-end: 0;
	z-index: 3;
	display: flex;
	align-items: stretch;
}

.homepage-hero__counter,
.homepage-hero__next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.homepage-hero__counter {
	background-color: var(--color-bg);
	color: var(--color-text);
}

.homepage-hero__next {
	background-color: var(--color-text);
	color: var(--color-bg);
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.homepage-hero__next:hover,
.homepage-hero__next:focus-visible {
	opacity: 0.85;
}

.homepage-hero__next-icon {
	display: block;
	width: 22px;
	height: 22px;
	--currentColor: var(--color-text-inverse);
}

@media (min-width: 768px) {
	.homepage-hero__swiper {
		min-height: clamp(520px, 50vh, 600px);
	}

	.homepage-hero__slide {
		min-height: clamp(520px, 50vh, 600px);
	}

	.homepage-hero__container {
		padding-top: 100px;
		padding-bottom: 70px;
		text-align: left;
		justify-content: flex-start;
	}

	.homepage-hero:has(.homepage-hero__controls) .homepage-hero__container {
		padding-bottom: 70px;
	}

	.homepage-hero__controls {
		inset-block: 0;
		inset-block-end: auto;
		align-items: center;
		top: 50%;
        transform: translateY(-50%);
	}

	.homepage-hero .screen-title,
	.homepage-hero__title {
		font-size: 50px;
		text-align: left;
	}

	.homepage-hero__counter,
	.homepage-hero__next {
		width: 64px;
		height: 64px;
	}

	.homepage-hero__description {
		font-size: 20px;
	}
}

@media(min-width:992px){
	.homepage-hero__content{
		max-width: 800px;
	}
}

@media (min-width: 1280px) {
	.homepage-hero__swiper {
		min-height: clamp(520px, 115vh, 1200px);
	}

	.homepage-hero__slide {
		min-height: clamp(520px, 115vh, 1200px);
	}

	.homepage-hero__container {
		padding-top: 160px;
	}

	.homepage-hero .screen-title,
	.homepage-hero__title {
		font-size: 90px;
	}

	.homepage-hero__content{
		max-width: 1076px;
	}

	.homepage-hero__description {
		font-size: 24px;
	}
}

/* Flip Image — general-flip-image.php */
.g-flip-image {
	overflow: hidden;
}

.g-flip-image__layout {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.g-flip-image__composition {
	position: relative;
	width: 100%;
	margin: 0 auto;
	order: 2;
}

.g-flip-image__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	width: 100%;
	min-height: 240px;
	background-color: var(--color-bg);
	aspect-ratio: 2 / 1;
}

.g-flip-image__media {
	grid-column: 1 / -1;
	grid-row: 1 / -1;
	z-index: 0;
	margin: 0;
	min-width: 0;
	min-height: 0;
	width: 100%;
	height: 100%;
	line-height: 0;
	overflow: hidden;
}

.g-flip-image__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.g-flip-image__tile {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
	border: 2px solid var(--color-bg);
	background-color: transparent;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(2) {
	grid-column: 1;
	grid-row: 1;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(3) {
	grid-column: 2;
	grid-row: 1;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(4) {
	grid-column: 3;
	grid-row: 1;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(5) {
	grid-column: 4;
	grid-row: 1;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(6) {
	grid-column: 1;
	grid-row: 2;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(7) {
	grid-column: 2;
	grid-row: 2;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(8) {
	grid-column: 3;
	grid-row: 2;
}

.g-flip-image__grid > .g-flip-image__tile:nth-child(9) {
	grid-column: 4;
	grid-row: 2;
}

.g-flip-image__tile--white {
	background-color: var(--color-bg);
}

.g-flip-image__reveal-cover {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	background-color: var(--color-bg);
	opacity: 1;
	pointer-events: none;
}

.g-flip-image.is-motion-reduced .g-flip-image__reveal-cover,
.g-flip-image.is-revealed .g-flip-image__reveal-cover {
	display: none;
}

.g-flip-image.is-motion-reduced .g-flip-image__info {
	opacity: 1;
	transform: none;
}

.g-flip-image__info--1 {
	order: 1;
}

.g-flip-image__info--2 {
	order: 3;
	text-align: right;
}

.g-flip-image__info-title {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
}

.g-flip-image__info-description {
	margin-bottom: 20px;
}

.g-flip-image__info{
	max-width: 330px;
}

.g-flip-image__info--2{
	align-self: end;
}

@media (min-width: 1280px) {
	.g-flip-image__layout {
		display: block;
	}

	.g-flip-image__composition {
		width: 1200px;
		max-width: 70%;
		order: unset;
	}

	.g-flip-image__info {
		position: absolute;
		z-index: 3;
		text-align: left;
	}

	.g-flip-image__info--1 {
		top: 0;
		right: 0;
		order: unset;
		text-align: right;
	}

	.g-flip-image__info--2 {
		bottom: 0;
		left: 0;
		order: unset;
	}

	.g-flip-image__info--1 .g-flip-image__info-button {
		margin-inline-start: auto;
	}
}

/* Contact Form Screen — general-contact-form.php */
.contact-screen .cf {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

:is(.contact-screen, .g-newsletter) .cf .wpcf7-form {
	display: block;
}

:is(.contact-screen, .g-newsletter) .cf-field {
	position: relative;
	display: block;
	margin-bottom: 20px;
}

:is(.contact-screen, .g-newsletter) .cf-field__label {
	position: absolute;
	inset-inline-start: 0;
	top: calc(61px / 2);
	z-index: 1;
	font-size: 18px;
	line-height: 24px;
	text-transform: uppercase;
	pointer-events: none;
	transition: top 0.2s ease-out, font-size 0.2s ease-out, line-height 0.2s ease-out;
}

:is(.contact-screen, .g-newsletter) .cf-field--textarea .cf-field__label {
	top: 28px;
}

:is(.contact-screen, .g-newsletter) .cf-field:is(.is-focused, .is-filled) .cf-field__label {
	top: 6px;
	font-size: 12px;
	line-height: 16px;
}

:is(.contact-screen, .g-newsletter) .cf-field :is(input, select, textarea) {
	display: block;
	width: 100%;
	height: 61px;
	padding: 22px 0 8px;
	border: 0;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	background: none;
	font-size: 16px;
	line-height: 24px;
	-webkit-appearance: none;
	appearance: none;
}

:is(.contact-screen, .g-newsletter) .cf-field :is(input, select, textarea):focus {
	outline: none;
	border-bottom-color: var(--color-text);
}

:is(.contact-screen, .g-newsletter) .cf-field :is(input, select, textarea).wpcf7-not-valid {
	border-bottom-color: #d63638;
}

:is(.contact-screen, .g-newsletter) .cf-field--textarea textarea {
	min-height: 110px;
	height: 110px;
	padding-top: 28px;
	resize: none;
}

:is(.contact-screen, .g-newsletter) .cf-field--code select {
	padding-inline-end: 20px;
}

:is(.contact-screen, .g-newsletter) .cf-field--code::after {
	content: '';
	position: absolute;
	inset-inline-end: 0;
	top: 33px;
	width: 12px;
	height: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23191919' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / cover;
	pointer-events: none;
}

.contact-screen .flex-row {
	gap: 20px;
}

.contact-screen .flex-row > .flex-item.cf-field--code {
	flex: 0 0 112px;
	max-width: 112px;
}

.contact-screen .flex-row > .flex-item:not(.cf-field--code) {
	flex: 1 1 0;
}

.contact-screen .flex-row .cf-field {
	margin-bottom: 0;
}

.contact-screen .flex-row + .flex-row,
.contact-screen .flex-row + .cf-field,
.contact-screen .cf-field + .flex-row {
	margin-top: 20px;
}

:is(.contact-screen, .g-newsletter) .cf-check {
	margin-top: -10px;
	cursor: pointer;
	margin-bottom: 10px;
	text-align: left;
}

:is(.contact-screen, .g-newsletter) .cf-check input {
	flex-shrink: 0;
	width: 13px;
	height: 13px;
	margin: 2px 0 0;
	border: 1px solid var(--color-text);
	border-radius: 50%;
	background: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

:is(.contact-screen, .g-newsletter) .cf-check input:checked {
	background-image: radial-gradient(circle, var(--color-text) 2.5px, transparent 3px);
}

:is(.contact-screen, .g-newsletter) .cf-check input:focus-visible {
	outline: 2px solid var(--color-text);
	outline-offset: 2px;
}

:is(.contact-screen, .g-newsletter) .cf-check__label {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 300;
}

:is(.contact-screen, .g-newsletter) .wpcf7-list-item {
	margin: 0;
	padding: 0;
}

:is(.contact-screen, .g-newsletter) .cf-check :is(.wpcf7-form-control-wrap, .wpcf7-acceptance, .wpcf7-list-item) {
	display: contents;
}

:is(.contact-screen, .g-newsletter) .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

:is(.contact-screen, .g-newsletter) :is(.wpcf7-spinner, .hidden-fields-container) {
	display: none;
}

.cf .send-btn input{
	background: unset;
    outline: unset;
    border: 0;
    color: inherit;
}

@media (max-width: 767px) {
	.contact-screen .flex-row {
		flex-direction: column;
	}

	.contact-screen .flex-row .cf-field--code {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* Contact Info Screen — general-contact-info.php */
.contact-info-screen__address, .contact-info-screen__columns{
	max-width: 500px;
	margin: 0 auto;
}
.contact-info-screen__columns {
	align-items: flex-start;
	gap: 40px;
}

.contact-info-screen__column {
	text-align: center;
}

.contact-info-screen__heading {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text);
}

.contact-info-screen__details p {
	margin: 0 0 10px;
	line-height: 1.5;
	color: var(--color-text);
}

.contact-info-screen__details p:last-child {
	margin-bottom: 0;
}

.contact-info-screen__details a {
	color: var(--color-text);
	text-decoration: none;
}

.contact-info-screen__details a:hover,
.contact-info-screen__details a:focus-visible {
	opacity: 0.75;
}

.contact-info-screen__address {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
	text-align: center;
}

.contact-info-screen__address p {
	margin: 0;
	line-height: 1.5;
	color: var(--color-text);
}

@media (max-width: 767px) {
	.contact-info-screen__columns {
		flex-direction: column;
		gap: 30px;
	}
}

/* Map Screen — general-map.php */
.map-screen.screen {
	padding: 0;
}

.map-screen__embed {
	position: relative;
	width: 100%;
	height: 320px;
	overflow: hidden;
	line-height: 0;
}

.map-screen__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (min-width: 768px) {
	.map-screen__embed {
		height: 450px;
	}
}

/* Contact page */
.contact-page{
	margin-bottom: 50px;
}
@media(min-width:1024px){
	.contact-page{
		margin-bottom: 80px;
	}
}

/* Post Previews — post-preview-featured.php, post-preview-summarized.php */
.post-preview {
	display: block;
}

.post-preview-meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 15px;
}

.post-preview .post-date,
.post-preview .post-category {
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text);
}

.post-preview .post-category {
	text-align: right;
	text-decoration: none;
}

.post-preview .post-category:hover,
.post-preview .post-category:focus-visible {
	opacity: 0.75;
}

.post-preview-featured .post-preview__media {
	margin: 0 0 20px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	line-height: 0;
}

.post-preview-featured .post-preview__media a {
	display: block;
	width: 100%;
	height: 100%;
}

.post-preview-featured .post-preview__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-preview .post-title {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.36;
	text-transform: none;
}

.post-preview .post-title a {
	color: inherit;
	text-decoration: none;
}

.post-preview .post-title a:hover,
.post-preview .post-title a:focus-visible {
	opacity: 0.75;
}

.post-preview-featured .post-preview__excerpt {
	margin-bottom: 20px;
}

.post-preview-featured .post-preview__excerpt p {
	margin: 0;
	color: var(--color-text);
	display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

/* Post Preview Landscape — post-preview-featured-landscape.php */
.post-preview-featured-landscape__row {
	align-items: stretch;
	gap: 30px;
	flex-direction: column-reverse;
}

.post-preview-featured-landscape__content {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.post-preview-featured-landscape .post-preview__media {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	line-height: 0;
}

.post-preview-featured-landscape .post-preview__media a {
	display: block;
	width: 100%;
	height: 100%;
}

.post-preview-featured-landscape .post-preview__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-preview-featured-landscape .post-preview__excerpt {
	margin-bottom: 20px;
}

@media (min-width: 1024px) {
	.post-preview-featured-landscape__row{
		flex-direction: row;
	}

	.post-preview-featured-landscape__content {
		flex: 1 1 calc(50% - 15px);
		max-width: calc(50% - 15px);
		width: calc(50% - 15px);
		display: flex;
        flex-direction: column;
        justify-content: center;
		align-items: flex-start;
	}

	.post-preview-featured-landscape .post-preview__media {
		flex: 1 1 calc(50% - 15px);
		max-width: calc(50% - 15px);
		width: calc(50% - 15px);
		min-height: 100%;
		aspect-ratio: auto;
	}
}

.post-preview-summarized .post-title {
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 15px;
}

.post-preview-summarized .post-date,
.post-preview-summarized .post-category {
	font-size: 14px;
}

/* Member Preview — post-preview-member.php */
.member-preview {
	display: block;
}

.member-preview__image {
	margin: 0 0 20px;
	overflow: hidden;
	line-height: 0;
}

.member-preview__img {
	display: block;
	width: 100%;
	height: auto;
	filter: grayscale(1);
	transition: filter 0.3s ease;
}

.member-preview:hover .member-preview__img,
.member-preview:focus-within .member-preview__img {
	filter: grayscale(0);
}

.member-preview__title {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.member-preview__position {
	margin: 0 0 5px;
}

.member-preview__socials {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.member-preview__social {
	color: inherit;
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
}

.member-preview__social:hover,
.member-preview__social:focus-visible {
	opacity: 0.75;
}

@media (min-width: 768px) {
	.member-preview__title {
		font-size: 24px;
	}
}

/* News Sidebar — blog-topics.php, side-bar-articles.php, news-sidebar.php */
.title-line {
	margin: 0 0 30px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-border);
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--color-text);
}

.news-sidebar {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.blog-topics__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-topics__list li {
	margin: 0 0 10px;
}

.blog-topics__list li:last-child {
	margin-bottom: 0;
}

.blog-topics__list a {
	line-height: 1.37;
	color: var(--color-text);
	text-decoration: none;
}

.blog-topics__list a:hover,
.blog-topics__list a:focus-visible {
	opacity: 0.75;
}

.side-bar-articles__list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

@media(min-width:1024px){
	.news-sidebar{
		padding-left: 50px;
	}
}

@media(min-width:1280px){
	.news-sidebar{
		padding-left: 100px;
	}
}

/* Category Archive — category.php */
.category-page{
	margin-bottom: 50px;
}
@media(min-width:1024px){
	.category-page{
		margin-bottom: 80px;
	}
}

.category-page .news-archive-wrapper {
	align-items: flex-start;
	gap: 40px;
}

.category-page .posts-listings {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.category-page .news-sidebar {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.category-page .posts-listings__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 20px;
}

.category-page .posts-listings__grid > .post-preview {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

.category-page .posts-listings__empty {
	margin: 0;
	line-height: 1.5;
	color: var(--color-text);
}

@media (min-width: 768px) {
	.category-page .posts-listings__grid {
		gap: 60px 20px;
	}

	.category-page .posts-listings__grid > .post-preview {
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
		width: calc(50% - 10px);
	}
}

@media (min-width: 1024px) {
	.category-page .news-archive-wrapper {
		flex-wrap: nowrap;
		gap: 50px;
	}

	.category-page .posts-listings {
		flex: 1 1 65%;
		max-width: 65%;
	}

	.category-page .news-sidebar {
		flex: 1 1 35%;
		max-width: 35%;
	}
}

/* News Page — templates/news.php */
.news-page{
	margin-bottom: 50px;
}
.news-page .screen{
	padding: 30px 0;
}
.news-page__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 30px;
}

.news-page__grid > .post-preview {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

.news-page__split {
	align-items: flex-start;
	gap: 40px;
}

.news-page__split-content {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.news-page__columns-2 {
	align-items: flex-start;
	gap: 40px;
}

.news-page__column {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.news-page .news-page__row--2 {
	background-color: var(--color-bg-nude);
}

@media (min-width: 768px) {
	.news-page__grid--2 > .post-preview,
	.news-page__grid--count-2 > .post-preview {
		flex: 0 0 calc(50% - 15px);
		max-width: calc(50% - 15px);
		width: calc(50% - 15px);
	}

	.news-page__grid--3 > .post-preview {
		flex: 1 1 calc(50% - 20px);
	}

	.news-page__row--1 .news-page__grid--count-2 > .post-preview,
	.news-page__row--1 .news-page__grid--count-3 > .post-preview-featured:not(.post-preview-featured-landscape) {
		flex: 0 0 calc(50% - 15px);
		max-width: calc(50% - 15px);
		width: calc(50% - 15px);
	}

	.news-page__row--1 .news-page__grid--count-3 > .post-preview-featured-landscape {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}

	.news-page__grid--column.news-page__grid--count-2 > .post-preview {
		flex: 0 0 calc(50% - 15px);
		max-width: calc(50% - 15px);
		width: calc(50% - 15px);
	}
}

@media (min-width: 1024px) {
	.news-page__split {
		flex-wrap: nowrap;
		gap: 50px;
	}

	.news-page__split-content {
		flex: 1 1 65%;
		max-width: 65%;
	}

	.news-page .news-page__split .news-sidebar {
		flex: 1 1 35%;
		max-width: 35%;
	}

	.news-page__columns-2 {
		flex-wrap: nowrap;
	}

	.news-page{
		margin-bottom: 80px;
	}

	.news-page__grid--3 > .post-preview {
		flex: 0 0 calc(33.333% - 20px);
		max-width: calc(33.333% - 20px);
		width: calc(33.333% - 20px);
	}

	.news-page .post-preview-featured-landscape__row{
		flex-direction: column-reverse;
	}

	.news-page .news-page__row--1 .post-preview-featured-landscape__content,
	.news-page .news-page__row--1 .post-preview-featured-landscape .post-preview__media{
		width: 100%;
		max-width: 100%
	}

	.news-page__columns-2{
		flex-direction: column;
	}

	.news-page__columns-2 .flex-item.item50{
		flex: 1 1 10%;
		width: 100%;
	}

}

@media(min-width:1280px){
	.news-page .post-preview-featured-landscape__row{
		flex-direction: row;
	}

	.news-page .news-page__row--1 .post-preview-featured-landscape__content,
	.news-page .news-page__row--1 .post-preview-featured-landscape .post-preview__media{
		max-width: calc(50% - 15px);
        width: calc(50% - 15px);
	}

	.news-page__columns-2{
		flex-direction: row;
	}

	.news-page__columns-2 .flex-item.item50{
		flex: 1 1 50%;
		width: 50%;
	}
}

/* Single Article — single.php, content-single-article.php */
.single-article .article-header {
	width: 100%;
}

.single-article .article-header__media {
	margin: 0;
	line-height: 0;
}

.single-article .article-header__image {
	display: block;
	width: 100%;
	height: auto;
}

.single-article .article-meta {
	padding:30px 0;
}

.single-article .article-meta__top {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
}

.single-article .article-date,
.single-article .article-category {
	font-weight: 500;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text);
}

.single-article .article-category {
	text-align: right;
	text-decoration: none;
}

.single-article .article-category:hover,
.single-article .article-category:focus-visible {
	opacity: 0.75;
}

.single-article .article-title {
	margin: 0 0 20px;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: none;
	color: var(--color-text);
}

.single-article .share-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.single-article .share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	color: var(--color-text);
	text-decoration: none;
}

.single-article .share-link:hover,
.single-article .share-link:focus-visible {
	opacity: 0.75;
}

.single-article .share-link__icon {
	display: block;
}

.single-article .article-body {
	padding-bottom: 20px;
}

.single-article .article-navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
}

@media (min-width: 768px) {
	.single-article .article-meta {
		padding: 50px 0 50px;
	}

	.single-article .article-title {
		font-size: 62px;
	}
}

/* Single Article — content-recent-news.php */
.single-article-page .recent-news-screen .screen-title {
	margin: 0 0 40px;
}

.single-article-page .recent-news-screen__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 20px;
}

.single-article-page .recent-news-screen__grid > .post-preview {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

@media (min-width: 850px) {
	.single-article-page .recent-news-screen__grid > .post-preview {
		flex: 0 0 calc(33.333% - 20px);
		max-width: calc(33.333% - 20px);
		width: calc(33.333% - 20px);
	}
}

/* About Page — templates/about.php, general-about-intro.php */
.about-page .about-intro__info {
	max-width: 1160px;
	margin: 0 auto;
	text-align: center;
	text-transform: uppercase;
	font-style: italic;
}

.about-page .about-intro__info strong,
.about-page .about-intro__info b {
	font-style: normal;
	font-weight: 700;
}

.about-page .about-intro__info p{
	font-family: var(--font-display);
	font-size: 20px;
	line-height:1.15
}

.about-intro__info .g-split-word,
.g-space-future__info .g-split-word {
	display: inline-block;
}

.homepage-hero__title .g-split-line,
.about-hero__title-wrap .g-split-line {
	display: block;
}

.about-page .space-up-down {
	background: var(--color-bg-dark);
	padding: 100px 0;
}

@media(min-width:850px){
	.about-page .about-intro__info p{
		font-size: 24px;
	}
}

@media(min-width:1024px){
	.about-page .about-intro__info p{
		font-size: 32px;
	}
}

@media(min-width:1280px){
	.about-page .about-intro__info p{
		font-size: 40px;
	}
}

/* Numbers — general-numbers.php */
.g-numbers {
	background-color: var(--color-bg);
}

.g-numbers__grid {
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px 20px;
	flex-direction: row;
}

.g-numbers__item {
	flex: 0 0 calc(50% - 10px);
	max-width: calc(50% - 10px);
	text-align: center;
}

.g-numbers__value {
	display: block;
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	font-weight: 900;
	line-height: 1;
}

.g-numbers__info {
	display: block;
	font-size: 16px;
	line-height: 1.3;
}


@media (min-width: 1024px) {
	.g-numbers__item {
		flex: 0 0 calc(25% - 15px);
		max-width: calc(25% - 15px);
	}
}

/* Turning Words — general-turning-words.php */
.g-turning-words {
	background-color: var(--color-bg);
	overflow: hidden;
}

.g-turning-words__pin {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 100svh;
}


.g-turning-words__rows {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 0.08em;
}

.g-turning-words__row {
	width: 100%;
	text-align: center;
	padding: 0 2vw;
	box-sizing: border-box;
}

.g-turning-words__slot {
	position: relative;
	display: inline-block;
	width: auto;
	max-width: 100%;
	overflow: hidden;
	perspective: 900px;
	transform-style: preserve-3d;
}

.g-turning-words__row--flip .g-turning-words__slot {
	min-height: 1.05em;
}

.g-turning-words__word {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(3.25rem, 10vw + 0.25rem, 12rem);
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	text-align: center;
	white-space: nowrap;
	max-width: 100%;
	backface-visibility: hidden;
}

@media (min-width: 850px) {
	.g-turning-words__word {
		will-change: transform, opacity;
	}
}

.g-turning-words__row--flip .g-turning-words__word--front {
	opacity: 1;
}

.g-turning-words__row--flip .g-turning-words__word--back {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	opacity: 0;
}

.g-turning-words__row:nth-child(even) .g-turning-words__word {
	font-style: italic;
	font-weight: 400;
}

.g-turning-words.is-motion-reduced .g-turning-words__row--flip .g-turning-words__word--front {
	display: none;
}

.g-turning-words.is-motion-reduced .g-turning-words__row--flip .g-turning-words__slot {
	min-width: 0 !important;
	min-height: 0 !important;
	overflow: visible;
}

.g-turning-words.is-motion-reduced .g-turning-words__row--flip .g-turning-words__word--back {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	transform: none !important;
	opacity: 1;
}

/* About Page — general-image-info-box.php */
.g-image-info-box .flex-row {
	align-items: stretch;
	flex-wrap: wrap;
}

.g-image-info-box__image-main,
.g-image-info-box__image-secondary {
	line-height: 0;
	overflow: hidden;
}

.g-image-info-box__image-main .g-image-info-box__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 700px;
	object-fit: cover;
}

@media (max-width: 849px) {
	.g-image-info-box__image-main {
		aspect-ratio: 1 / 1.15;
		width: 100%;
	}

	.g-image-info-box__image-main .g-image-info-box__img {
		height: 100%;
		max-height: none;
	}
}

.g-image-info-box__image-secondary {
	display: none;
}

.g-image-info-box__image-secondary .g-image-info-box__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g-image-info-box__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 20px;
}

.g-image-info-box__content .screen-title {
	text-align: left;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.5px;
}

.g-image-info-box__info p:last-child {
	margin-bottom: 0;
}

.g-image-info-box.is-motion-reduced .g-image-info-box__image-main,
.g-image-info-box.is-motion-reduced .g-image-info-box__image-secondary,
.g-image-info-box.is-motion-reduced .g-image-info-box__content {
	opacity: 1;
	transform: none;
}

.g-space-future__column:last-child .g-space-future__info,
.g-space-future__column:last-child .g-space-future__info p{
	font-family: var(--font-display);
	font-size: 20px;
	font-style: italic;
}

.g-space-future__column:last-child .g-space-future__info b,
.g-space-future__column:last-child .g-space-future__info strong{
	font-style: normal;
}

.g-space-future__content{
	padding: 15px;
}


@media (min-width: 850px) {
	.g-image-info-box__image-main {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.g-image-info-box__content {
		flex: 0 0 50%;
		max-width: 50%;
		padding: 40px 50px;
	}
}

@media (min-width: 1024px) {
	.g-image-info-box__content {
		flex: 0 0 40%;
		max-width: 40%;
		padding: 40px 80px;
	}

	.g-image-info-box .flex-row:not(:has(.g-image-info-box__image-secondary)) .g-image-info-box__content {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.g-image-info-box__image-secondary {
		display: block;
		flex: 0 0 10%;
		max-width: 10%;
	}

	.g-space-future__column:last-child .g-space-future__info,
	.g-space-future__column:last-child .g-space-future__info p{
	font-size: 30px;
}
}

/* Homepage — general-image-info-box.php */
.homepage-page .g-image-info-box--reversed .g-image-info-box__headline {
	display: block;
	margin-bottom: 12px;
	font-weight: 700;
}

.homepage-page .g-image-info-box--reversed .g-image-info-box__content {
	text-align: center;
	align-items: center;
}

.homepage-page .g-image-info-box--reversed .g-image-info-box__content .screen-title {
	text-align: center;
}

@media (min-width: 850px) {
	.homepage-page .g-image-info-box--reversed .g-image-info-box__image-main {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.homepage-page .g-image-info-box--reversed .g-image-info-box__content {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 1024px) {
	.homepage-page .g-image-info-box--reversed .g-image-info-box__image-secondary {
		display: block;
		flex: 0 0 15%;
		max-width: 15%;
	}

	.homepage-page .g-image-info-box--reversed .g-image-info-box__content {
		flex: 0 0 35%;
		max-width: 35%;
		padding: 40px 50px;
	}

	.homepage-page .g-image-info-box--reversed .g-image-info-box__image-main {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* About Page — general-about-space-future.php */
.g-space-future .screen-title-container {
	margin-bottom: 40px;
}

.g-space-future h3.screen-title {
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.5px;
}

.g-space-future .flex-row {
	align-items: flex-start;
	gap: 40px 50px;
}

@media (min-width: 1590px) {
	.g-space-future__column--1 .g-space-future__content {
		padding-left: max(15px, calc((100vw - 1560px) / 2 + 15px));
	}

	.g-space-future__column--2 .g-space-future__content {
		padding-right: max(15px, calc((100vw - 1560px) / 2 + 15px));
	}
}

.g-space-future__media {
	margin: 0 0 30px;
	aspect-ratio: 1.2 / 1;
	overflow: hidden;
	line-height: 0;
}

.g-space-future__media a {
	display: block;
	width: 100%;
	height: 100%;
}

.g-space-future__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g-space-future__column:nth-child(2) .g-space-future__img {
	filter: grayscale(1);
}

.g-space-future__column .screen-title,
.g-space-future__content .screen-title {
	margin: 0 0 20px;
	text-align: left;
}

.g-space-future__info p:last-child {
	margin-bottom: 0;
}

@media (min-width: 850px) {
	.g-space-future__column:first-child {
		flex: 0 0 calc(40% - 40px);
		max-width: calc(40% - 40px);
		width: calc(40% - 40px);
	}

	.g-space-future__column:last-child {
		flex: 0 0 calc(60% - 40px);
		max-width: calc(60% - 40px);
		width: calc(60% - 40px);
	}

	.g-space-future .flex-row{
		gap: 40px 80px;
	}
}



/* Banner — general-banner.php */
.g-banner__image {
	line-height: 0;
}

.g-banner__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Banner Video — general-banner-video.php */
.g-banner-video.screen {
	padding: 0;
	background-color: #fff;
	position: relative;
	min-height: 175vh;
}

@media (max-width: 849px) {
	.g-banner-video.screen {
		min-height: calc(100svh + 40vh);
	}
}

.g-banner-video__pin {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.g-banner-video__inner {
	width: 240px;
	height: 240px;
	flex-shrink: 0;
	overflow: hidden;
	background-color: #000;
}

.g-banner-video__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.g-banner-video.is-motion-reduced {
	min-height: auto;
}

.g-banner-video.is-motion-reduced .g-banner-video__pin {
	position: relative;
	height: auto;
}

.g-banner-video.is-motion-reduced .g-banner-video__inner {
	width: 100%;
	height: 100vh;
}

/* Partners — general-partners.php */
.g-partners {
	background-color: var(--color-bg-dark);
	color: var(--color-text-inverse);
}

.g-partners .screen-title {
	color: var(--color-text-inverse);
}

.g-partners__logos {
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 40px 20px;
}

.g-partners__logo {
	flex: 0 0 calc(50% - 10px);
	max-width: calc(50% - 10px);
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.g-partners__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100px;
	text-decoration: none;
}

.g-partners__link:hover,
.g-partners__link:focus-visible {
	opacity: 0.75;
}

.g-partners__img {
	display: block;
	max-width: 100%;
	max-height: 100px;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (min-width: 768px) {
	.g-partners__logo {
		flex: 0 0 calc(33.333% - 14px);
		max-width: calc(33.333% - 14px);
		min-height: 125px;
	}

	.g-partners__link {
		min-height: 125px;
	}

	.g-partners__img {
		max-height: 125px;
	}
}

@media (min-width: 1024px) {
	.g-partners__logo {
		flex: 0 0 calc(20% - 16px);
		max-width: calc(20% - 16px);
		min-height: 150px;
	}

	.g-partners__link {
		min-height: 150px;
	}

	.g-partners__img {
		max-height: 150px;
	}
}

/* Partners Slider — general-partners-slider.php */
.g-partners-slider {
	background-color: var(--color-bg-dark);
	overflow: hidden;
}

.g-partners-slider__swiper {
	overflow: visible;
}

.g-partners-slider__swiper .swiper-wrapper {
	transition-timing-function: linear !important;
}

.g-partners-slider__slide {
	width: auto;
	height: auto;
}

.g-partners-slider__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 80px;
}

.g-partners-slider__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.g-partners-slider__link:hover,
.g-partners-slider__link:focus-visible {
	opacity: 0.75;
}

.g-partners-slider__img {
	display: block;
	max-width: 100%;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (min-width: 768px) {
	.g-partners-slider__logo {
		width: 180px;
		height: 90px;
	}

	.g-partners-slider__img {
		max-height: 90px;
	}
}

@media (min-width: 1024px) {
	.g-partners-slider__logo {
		width: 200px;
		height: 100px;
	}

	.g-partners-slider__img {
		max-height: 100px;
	}
}

/* Members — general-members.php */
.g-members {
	background-color: var(--color-bg-dark);
	color: var(--color-text-inverse);
	overflow: hidden;
}

.g-members__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 40px;
}

.g-members__title.screen-title {
	margin: 0;
	text-align: left;
	color: var(--color-text-inverse);
}

.g-members__nav {
	display: flex;
	flex-shrink: 0;
	gap: 12px;
}

.g-members__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--color-text-inverse);
	color: var(--color-bg-dark);
	cursor: pointer;
	transition: opacity 0.2s ease;
	--currentColor: var(--color-bg-dark);
}

.g-members__arrow:hover,
.g-members__arrow:focus-visible {
	opacity: 0.8;
}

.g-members__arrow-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.g-members__arrow--prev .g-members__arrow-icon {
	transform: rotate(180deg);
}

.g-members__carousel {
	width: 100%;
}

.g-members__swiper,
.g-cards-slider:not(.g-cards-slider--reverse) .g-cards-slider__swiper {
	overflow: hidden;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 1024px) {
	.g-members__swiper,
	.g-cards-slider:not(.g-cards-slider--reverse) .g-cards-slider__swiper {
		overflow: visible;
		--full-width-slider-offset: max(15px, calc((100vw - 1560px) / 2 + 15px));
		padding-left: var(--full-width-slider-offset);
		padding-right: var(--full-width-slider-offset);
	}
}

.g-members__slide {
	height: auto;
}

.g-members .member-preview__title {
	color: var(--color-text-inverse);
}

.g-members .member-preview__position,
.g-members .member-preview__social {
	color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
	.g-members__header {
		margin-bottom: 50px;
	}
}

/* Cards Slider — general-cards-slider.php */
.g-cards-slider {
	overflow: hidden;
}

@media(max-width:849px){
	.g-floating-words + .g-cards-slider.screen{
		padding-top:0;
	}
}

.g-cards-slider__header {
	align-items: stretch;
	gap: 24px;
	margin-bottom: 40px;
}

.g-cards-slider__intro {
	flex: 1 1 100%;
	width: 100%;
}

.g-cards-slider__headline {
	display: block;
	margin-bottom: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.g-cards-slider__title.screen-title {
	margin: 0;
	text-align: left;
}

.g-cards-slider__description {
	flex: 1 1 100%;
	width: 100%;
}

.g-cards-slider__description p {
	margin: 0;
	line-height: 1.5;
}

.g-cards-slider__nav {
	display: flex;
	flex-shrink: 0;
	gap: 12px;
}

.g-cards-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--color-text);
	color: var(--color-bg);
	cursor: pointer;
	transition: opacity 0.2s ease;
	--currentColor: var(--color-text-inverse);
}

.g-cards-slider__arrow:hover,
.g-cards-slider__arrow:focus-visible {
	opacity: 0.8;
}

.g-cards-slider__arrow-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.g-cards-slider__arrow--prev .g-cards-slider__arrow-icon {
	transform: rotate(180deg);
}

.g-cards-slider__carousel {
	width: 100%;
}

.g-cards-slider__slide {
	height: auto;
}

.g-cards-slider__card {
	position: relative;
	aspect-ratio: 1/ 1.2;
	overflow: hidden;
}

.g-cards-slider__media {
	position: absolute;
	inset: 0;
	margin: 0;
	line-height: 0;
}

.g-cards-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72) 100%);
	pointer-events: none;
	transition: background 0.4s ease;
}

.g-cards-slider__card:hover .g-cards-slider__overlay,
.g-cards-slider__card:focus-within .g-cards-slider__overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.g-cards-slider__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.g-cards-slider__card:hover .g-cards-slider__media img,
.g-cards-slider__card:focus-within .g-cards-slider__media img {
	transform: scale(1.05);
}

.g-cards-slider__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	color: var(--color-text-inverse);
}

.g-cards-slider__card-title {
	order: 1;
	margin: 0;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	transition: transform 0.35s ease;
}

.g-cards-slider__card-description {
	order: 2;
	max-height: 0;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(8px);
	transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease;
}

.g-cards-slider__card-description p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.g-cards-slider__card:hover .g-cards-slider__card-title,
.g-cards-slider__card:focus-within .g-cards-slider__card-title {
	transform: translateY(-4px);
}

.g-cards-slider__card:hover .g-cards-slider__card-description,
.g-cards-slider__card:focus-within .g-cards-slider__card-description {
	max-height: 12em;
	margin-top: 12px;
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 768px) {
	.g-cards-slider__header {
		margin-bottom: 50px;
	}
	.g-cards-slider__title.screen-title{
		font-size: 30px;
	}
}

@media (min-width: 850px) {
	.g-cards-slider__header {
		flex-wrap: nowrap;
		align-items: flex-end;
	}

	.g-cards-slider__intro {
		flex: 0 0 28%;
		max-width: 28%;
	}

	.g-cards-slider__description {
		flex: 1 1 auto;
		max-width: none;
		padding: 0 40px;
	}

	.g-cards-slider__nav{
		align-self: end;
	}
}

@media(min-width:1024px){
	.g-cards-slider__title.screen-title{
		font-size: 40px;
	}

	.g-cards-slider__description{
		padding: 0 60px
	}
}

.g-cards-slider--reverse .g-cards-slider__slide {
	direction: ltr;
}

.g-cards-slider--reverse .g-cards-slider__swiper {
	overflow: hidden;
	direction: rtl;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 1024px) {
	.g-cards-slider--reverse .g-cards-slider__swiper {
		overflow: visible;
		--full-width-slider-offset: max(15px, calc((100vw - 1560px) / 2 + 15px));
		padding-left: var(--full-width-slider-offset);
		padding-right: var(--full-width-slider-offset);
	}
}

.g-cards-slider--reverse .g-cards-slider__nav {
	align-self: end;
}

.g-cards-slider--reverse .g-cards-slider__headline,
.g-cards-slider--reverse .g-cards-slider__title.screen-title,
.g-cards-slider--reverse .g-cards-slider__description {
	text-align: right;
}

@media (min-width: 850px) {
	.g-cards-slider--reverse .g-cards-slider__nav {
		order: 1;
		align-self: center;
	}

	.g-cards-slider--reverse .g-cards-slider__description {
		order: 2;
	}

	.g-cards-slider--reverse .g-cards-slider__intro {
		order: 3;
	}
}

/* Awards — general-awards.php */
.g-awards {
	background-color: var(--color-bg-dark);
	color: var(--color-text-inverse);
}

.g-awards .screen-title {
	color: var(--color-text-inverse);
	text-align: left;
	margin-bottom: 20px;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.5px;
}

.g-awards__layout {
	align-items: flex-start;
	gap: 40px 30px;
}

@media (min-width: 850px) {
	.g-awards__layout {
		gap: 40px 80px;
	}
}

@media (min-width: 1024px) {
	.g-awards__layout {
		gap: 40px 100px;
	}
}

@media (min-width: 1280px) {
	.g-awards__layout {
		gap: 40px 120px;
	}
}

.g-awards__description {
	margin-bottom: 30px;
	line-height: 1.5;
}

.g-awards__media {
	margin-top: 30px;
	line-height: 0;
}

.g-awards__img {
	display: block;
	width: 100%;
	height: auto;
}

.g-awards__table-head {
	display: none;
}

.g-awards__row {
	flex-direction: column;
	gap: 12px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.g-awards__row:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

.g-awards__cell {
	display: flex;
	gap: 15px;
}

.g-awards__label {
	flex: 0 0 80px;
	font-weight: 700;
	text-transform: uppercase;
}

.g-awards__value {
	flex: 1 1 auto;
}

.g-awards__cell--year .g-awards__value {
	font-weight: 700;
}

@media (min-width: 850px) {
	.g-awards__table-head {
		display: flex;
		gap: 20px;
		padding-bottom: 15px;
		margin-bottom: 15px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		font-weight: 700;
		text-transform: uppercase;
	}

	.g-awards__head-cell--year {
		flex: 0 0 15%;
		max-width: 15%;
	}

	.g-awards__head-cell--project {
		flex: 0 0 35%;
		max-width: 35%;
	}

	.g-awards__head-cell--award {
		flex: 1 1 auto;
	}

	.g-awards__row {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 20px;
		padding: 20px 0;
		margin-bottom: 0;
	}

	.g-awards__label {
		display: none;
	}

	.g-awards__cell {
		display: block;
	}

	.g-awards__cell--year {
		flex: 0 0 15%;
		max-width: 15%;
	}

	.g-awards__cell--project {
		flex: 0 0 35%;
		max-width: 35%;
	}

	.g-awards__cell--award {
		flex: 1 1 auto;
	}
}

/* Latest News — general-latest-news.php */
.g-latest-news {
	background-color: var(--color-bg-nude);
}

.g-latest-news .screen-title {
	text-align: left;
	margin-bottom: 40px;
}

.g-latest-news__featured {
	margin-bottom: 40px;
}

.g-latest-news__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 30px;
}

.g-latest-news__grid > .post-preview {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

@media (min-width: 768px) {
	.g-latest-news__featured {
		margin-bottom: 60px;
	}

	.g-latest-news__grid > .post-preview {
		flex: 1 1 calc(50% - 20px);
	}
}

@media(min-width:1024px){
	.g-latest-news .screen-title {
		font-size: 40px;
	}

	.g-latest-news__grid > .post-preview {
		flex: 1 1 calc(33.333% - 20px);
		max-width: calc(33.333% - 20px);
		width: calc(33.333% - 20px);
	}
}

/* Newsletter — general-newsletter.php */
.g-newsletter{
	background-color: var(--color-bg-nude);
}

.g-newsletter__layout {
	align-items: flex-start;
	gap: 40px 30px;
}

.g-newsletter__content .screen-title {
	text-align: left;
	margin: 0;
}

.g-newsletter .cf {
	width: 100%;
}

@media(min-width:768px){
	.g-newsletter__layout {
		flex-direction: row;
	}
}

@media (min-width: 850px) {
	.g-newsletter__layout {
		gap: 40px 60px;
	}
}

@media (min-width: 1024px) {
	.g-newsletter__layout {
		gap: 40px 80px;
	}
	.g-newsletter__content .screen-title {
		font-size: 45px;
	}
}

/* Floating Words — general-floating-words.php */
.g-floating-words {
	overflow: hidden;
}

.g-floating-words__pin {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: clamp(320px, 48vh, 480px);
}

@media (max-width: 849px) {
	.g-floating-words__pin {
		min-height: 0;
	}

	.g-floating-words__stage {
		min-height: 0;
		padding: 32px 0;
	}
}

.g-floating-words__stage {
	position: relative;
	width: 100%;
	min-height: clamp(240px, 34vh, 360px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.g-floating-words__words {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.2em;
	pointer-events: none;
}

.g-floating-words__word {
	font-family: var(--font-display);
	font-size: clamp(3rem, 12vw, 9rem);
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.g-floating-words__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.g-floating-words__title.screen-title {
	text-align: center;
	margin: 0 0 12px;
	text-transform: unset;
	font-size: 20px;
}

.g-floating-words__content .g-floating-words__title {
	opacity: 0;
	transform: translateY(40px);
}

.g-floating-words__content .g-floating-words__button {
	opacity: 0;
	transition: background-color 0.4s ease, color 0.4s ease, padding 0.4s ease;
}

@media (min-width: 850px) {
	.g-floating-words__word,
	.g-floating-words__content .g-floating-words__title,
	.g-floating-words__content .g-floating-words__button {
		will-change: transform, opacity;
	}
}

.g-floating-words.is-motion-reduced .g-floating-words__words {
	justify-content: space-between;
	width: 100%;
	padding: 0 4%;
	gap: 0;
}

.g-floating-words.is-motion-reduced .g-floating-words__word--left,
.g-floating-words.is-motion-reduced .g-floating-words__word--right {
	opacity: 0.5;
	transform: none;
}

.g-floating-words.is-motion-reduced .g-floating-words__title,
.g-floating-words.is-motion-reduced .g-floating-words__button {
	opacity: 1;
	transform: none;
}

@media(min-width:850px){
	.g-floating-words__title.screen-title {
		font-size: 30px;
	}
}

@media(min-width:1024px){
	.g-floating-words__title.screen-title {
		font-size: 40px;
	}
	.g-floating-words__title.screen-title:last-of-type {
		margin-bottom: 30px;
	}

	.homepage-page .g-floating-words .g-floating-words__title.screen-title {
		margin-bottom: 30px;
	}

	.homepage-page .g-floating-words .g-floating-words__title.screen-title:last-of-type {
		margin-bottom: 0;
	}
}

/* Footer */
.vector-rbp {
	width: 100%;
	text-align: center;
}
.vector-rbp img{
	margin-bottom: -10px;
}

.page-template-homepage .vector-rbp {
	background-color: var(--color-bg-nude);
}

.site-footer {
	background-color: var(--color-bg-dark);
	color: var(--color-text-inverse);
	padding: 40px 0 0;
}

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

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--color-text-inverse);
	opacity: 0.75;
}

.site-footer-main {
	align-items: flex-start;
	gap: 40px;
	padding-bottom: 80px;
	flex-direction: row;
    flex-wrap: wrap;
}

.site-footer-column {
	flex: 1 1 100%;
	text-align: center;
}

.site-footer-brand {
	flex: 1 1 100%;
}

.site-footer-brand-inner {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	margin-bottom: 40px;
}

.site-footer-logo {
	flex: 0 0 auto;
	max-width: 45px;
}

.site-footer-logo-img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer-description p {
	margin: 0;
	line-height: 1.375;
	color: var(--color-text-inverse);
	text-align: left;
}

.site-footer-heading {
	margin: 0 0 20px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text-inverse);
}

.site-footer-social-list,
.site-footer-link-list,
.site-footer-legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer-social-list {
	justify-content: center;
}

.site-footer-social-list a {
	font-size: 14px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.site-footer-link-list {
	flex-direction: column;
	gap: 10px;
}

.site-footer-link-list a {
	line-height: 1.4;
	color: var(--color-text-inverse);
}

.site-footer-inquiry-details p {
	margin: 0 0 10px;
	line-height: 1.5;
	color: var(--color-text-inverse);
}

.site-footer-inquiry-details p:last-child {
	margin-bottom: 0;
}

.site-footer-inquiry-details a {
	color: var(--color-text-inverse);
}

.site-footer-address {
	color: var(--color-text-inverse);
}

.site-footer-bottom {
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer-legal-list a,
.site-footer-copyright {
	font-size: 14px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-text-inverse);
}

.site-footer-copyright {
	margin: 0;
	text-align: right;
}

@media(min-width:850px){
	.site-footer-logo{
		max-width: 65px;
	}

	.site-footer-column{
		flex:1;
	}

}

@media(min-width:1024px){
	.site-footer-description p{
		text-align: center;
	}

	.site-footer-logo{
		max-width: 90px;
	}
}

@media (min-width: 1280px) {
	.site-footer-main {
		flex-wrap: nowrap;
	}

	.site-footer-brand {
		flex: 1 1 55%;
		max-width: 55%;
	}

	.site-footer-sitemap,
	.site-footer-inquiry {
		flex: 1 1 15%;
		max-width: 15%;
	}

	.site-footer-description p,
	.site-footer-column{
		text-align: left;
	}
	.site-footer-social-list{
		justify-content: flex-start;
		max-width: 400px;
	}
	.site-footer-brand-inner{
		max-width: 490px;
	}
}

/* Project Hero — content-project-hero.php */
.project-hero.screen {
	padding-bottom: 0;
}

.project-hero__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 8vw, 5.5rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--color-text);
}

.project-hero__button-wrap {
	margin-top: 28px;
}

.project-hero__details {
	margin-top: 36px;
}

.project-hero__detail-row {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-text);
}

.project-hero__detail-row:last-child {
	margin-bottom: 0;
}

.project-hero__detail-row--location-date {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
}

.project-hero__detail-label {
	font-weight: 700;
}

.project-hero__detail-value {
	font-weight: 400;
}

.project-hero__inline-list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 10px;
}

.project-hero__sep {
	display: inline-block;
	color: var(--color-text);
}

.project-hero__category-link {
	color: inherit;
	text-decoration: none;
}

.project-hero__category-link:hover,
.project-hero__category-link:focus-visible {
	text-decoration: underline;
}

.project-hero__video {
	width: 100%;
	margin-top: 40px;
}

.project-hero__video lite-vimeo {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
}

@media (min-width: 850px) {

	.project-hero__details {
		margin-top: 48px;
	}

	.project-hero__detail-row {
		font-size: 18px;
	}

	.project-hero__video {
		margin-top: 60px;
	}
}

/* Project Team — content-project-team.php */
.project-team__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px 20px;
}

.project-team__item {
	flex: 0 1 calc(50% - 10px);
	max-width: calc(50% - 10px);
}

@media (min-width: 768px) {
	.project-team__item {
		flex: 0 1 calc(33.333% - 14px);
		max-width: calc(33.333% - 14px);
	}
}

@media (min-width: 1024px) {
	.project-team__item {
		flex: 0 1 calc(25% - 15px);
		max-width: calc(25% - 15px);
	}
}

/* Project Body — content-project-body.php */
.project-body .container + .container,
.project-body .container + .project-body__gallery-wrap,
.project-body .project-body__gallery-wrap + .container,
.project-body .project-body__gallery-wrap + .project-body__gallery-wrap {
	margin-top: 40px;
}

.project-body__gallery-wrap {
	width: 100%;
}

.custom-gallery {
	width: 100%;
}

.custom-gallery__preview {
	width: 100%;
}

.custom-gallery__swiper {
	overflow: hidden;
	width: 100%;
}

.custom-gallery--slider {
	--custom-gallery-slide-gap: 10px;
	--custom-gallery-slide-height: clamp(220px, 24vw, 360px);
}

.custom-gallery--slider .custom-gallery__swiper .swiper-slide {
	height: auto;
}

.custom-gallery--slider .custom-gallery__slide:nth-child(odd) {
	width: calc((100% - (var(--custom-gallery-slide-gap) * 2)) * 0.275);
}

.custom-gallery--slider .custom-gallery__slide:nth-child(even) {
	width: calc((100% - (var(--custom-gallery-slide-gap) * 2)) * 0.45);
}

.custom-gallery--slider .custom-gallery__media {
	aspect-ratio: unset;
	height: var(--custom-gallery-slide-height);
}

.custom-gallery__static {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.custom-gallery--count-1 .custom-gallery__static-item {
	width: 100%;
}

.custom-gallery--count-2 .custom-gallery__static-item {
	width: calc(50% - 5px);
}

@media (max-width: 767px) {
	.custom-gallery--count-2 .custom-gallery__static-item {
		width: 100%;
	}
}

.custom-gallery__figure,
.custom-gallery__static-item {
	margin: 0;
}

.custom-gallery__trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}

.custom-gallery__trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.custom-gallery__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	line-height: 0;
	background-color: #f2f2f2;
}

.custom-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.custom-gallery__slide--video .custom-gallery__media::after,
.custom-gallery__static-item--video .custom-gallery__media::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 5.14v13.72c0 .79.87 1.27 1.54.84l11.18-6.86c.63-.39.63-1.29 0-1.68L9.54 4.3C8.87 3.87 8 4.35 8 5.14z' fill='%23fff'/%3E%3C/svg%3E") center / 48px 48px no-repeat;
	pointer-events: none;
}

.custom-gallery__caption {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.4;
}

.custom-gallery__pagination {
	position: static;
	margin-top: 20px;
}

@media (max-width: 767px) {
	.custom-gallery--slider .custom-gallery__slide:nth-child(odd),
	.custom-gallery--slider .custom-gallery__slide:nth-child(even) {
		width: calc(100% - var(--custom-gallery-slide-gap));
	}

	.custom-gallery--slider {
		--custom-gallery-slide-height: clamp(200px, 56vw, 280px);
	}
}

/* Custom Gallery Modal */
.custom-gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px 15px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.custom-gallery-modal.is-open {
	display: flex;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.custom-gallery-modal[hidden] {
	display: none;
}

.custom-gallery-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.custom-gallery-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	padding: 0 56px;
	box-sizing: border-box;
}

.custom-gallery-modal__close {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 3;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.custom-gallery-modal__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #191919;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.custom-gallery-modal__arrow--prev {
	left: 0;
}

.custom-gallery-modal__arrow--next {
	right: 0;
}

.custom-gallery-modal__swiper {
	overflow: hidden;
	width: 100%;
}

.custom-gallery-modal__swiper .custom-gallery-modal__slide {
	width: 100%;
	box-sizing: border-box;
}

.custom-gallery-modal__slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: auto;
}

.custom-gallery-modal__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	line-height: 0;
}

.custom-gallery-modal__image {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	margin: 0 auto;
}

.custom-gallery-modal__video {
	width: 100%;
	max-width: min(100%, 1080px);
	margin: 0 auto;
}

.custom-gallery-modal__video lite-vimeo {
	display: block;
	width: 100%;
	max-width: 100%;
	max-height: 80vh;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
}

.custom-gallery-modal__caption {
	width: 100%;
	max-width: 900px;
	margin: 16px 0 0;
	padding: 0 10px;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

body.custom-gallery-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.custom-gallery-modal {
		padding: 56px 10px 20px;
	}

	.custom-gallery-modal__panel {
		padding: 0 44px;
	}

	.custom-gallery-modal__close {
		top: 12px;
		right: 12px;
	}

	.custom-gallery-modal__arrow {
		width: 36px;
		height: 36px;
		margin-top: -18px;
		font-size: 24px;
	}

	.custom-gallery-modal__image {
		max-height: 70vh;
	}

	.custom-gallery-modal__video lite-vimeo {
		max-height: 70vh;
	}
}

.single-project-page .project-navigation-screen .project-navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

/* Post Preview Project — post-preview-project.php */
.post-preview-project {
	display: block;
}

.post-preview-project__link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	text-decoration: none;
	color: #fff;
}

.post-preview-project__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72) 100%);
	pointer-events: none;
}

.post-preview-project__image {
	position: absolute;
	inset: 0;
	margin: 0;
	line-height: 0;
}

.post-preview-project__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.post-preview-project__title {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	margin: 0;
	padding: 24px 20px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: unset;
	color: #fff;
}

.post-preview-project-taxonomy .post-preview-project__title {
	text-transform: uppercase;
	font-size: 24px;
}

@media(min-width:1024px){
	.post-preview-project-taxonomy .post-preview-project__title {
		font-size: 30px;
	}
}

/* Recent Projects — content-recent-projects.php */
.recent-projects-screen .screen-title-container {
	margin-bottom: 40px;
}

.recent-projects-screen__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.recent-projects-screen__grid > .post-preview-project {
	flex: 0 1 calc(100% - 10px);
	max-width: calc(100% - 10px);
	width: calc(100% - 10px);
}

@media (min-width: 768px) {
	.recent-projects-screen__grid > .post-preview-project {
		flex: 0 1 calc(50% - 14px);
		max-width: calc(50% - 14px);
		width: calc(50% - 14px);
	}
}

@media (min-width: 1024px) {
	.recent-projects-screen__grid > .post-preview-project {
		flex: 0 1 calc(25% - 15px);
		max-width: calc(25% - 15px);
		width: calc(25% - 15px);
	}
}

/* Project Category Archive — taxonomy-proiect_category.php */
.project-taxonomy-page{
	margin-bottom: 50px;
}
.project-taxonomy-page .project-taxonomy .screen-title-container {
	text-align: center;
}

.project-taxonomy-page .project-taxonomy .screen-title {
	margin: 0;
	text-transform: uppercase;
}

.project-taxonomy-page .project-taxonomy__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.project-taxonomy-page .project-taxonomy__grid > .post-preview-project {
	flex: 0 1 calc(100% - 10px);
	max-width: calc(100% - 10px);
	width: calc(100% - 10px);
}

.project-taxonomy-page .project-taxonomy__empty {
	margin: 0;
	text-align: center;
}

.project-taxonomy-page .project-taxonomy .ws-navigation {
	margin-top: 40px;
}

@media (min-width: 768px) {
	.project-taxonomy-page .project-taxonomy__grid > .post-preview-project {
		flex: 0 1 calc(50% - 14px);
		max-width: calc(50% - 14px);
		width: calc(50% - 14px);
	}
}

@media (min-width: 1024px) {
	.project-taxonomy-page{
		margin-bottom: 80px;
	}
	.project-taxonomy-page .project-taxonomy__grid > .post-preview-project {
		flex: 0 1 calc(25% - 15px);
		max-width: calc(25% - 15px);
		width: calc(25% - 15px);
	}
}

/* Projects Listing Page — templates/projects.php */
.projects-page {
	margin-bottom: 50px;
}

.projects-listing .screen-title-container {
	text-align: center;
}

.projects-listing .screen-title {
	margin: 0;
	text-transform: uppercase;
}

.projects-listing__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.projects-listing__grid > .post-preview-project {
	flex: 0 1 calc(100% - 10px);
	max-width: calc(100% - 10px);
	width: calc(100% - 10px);
}

.projects-listing__empty {
	margin: 0;
	text-align: center;
}

.projects-listing .ws-navigation {
	margin-top: 40px;
}

@media (min-width: 1024px) {
	.projects-listing__grid > .post-preview-project {
		flex: 0 1 calc(33.333% - 14px);
		max-width: calc(33.333% - 14px);
		width: calc(33.333% - 14px);
	}
}

@media (min-width: 1280px) {
	.projects-page {
		margin-bottom: 80px;
	}

	.projects-listing__grid > .post-preview-project {
		flex: 0 1 calc(25% - 15px);
		max-width: calc(25% - 15px);
		width: calc(25% - 15px);
	}
}

/* Homepage Projects Slider — general-projects-slider.php */
.g-projects-slider {
	position: relative;
	overflow: hidden;
	color: var(--color-text-inverse);
	background-color: var(--color-bg-dark);
}

.g-projects-slider__swiper {
	width: 100%;
}

.g-projects-slider__slide {
	position: relative;
	min-height: clamp(560px, 90vh, 900px);
}

.g-projects-slider__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.g-projects-slider__bg-media {
	position: absolute;
	inset: 0;
	margin: 0;
	line-height: 0;
}

.g-projects-slider__bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(10px);
	transform: scale(1.04);
}

.g-projects-slider__bg-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.36);
	pointer-events: none;
}

.g-projects-slider__stage {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: inherit;
	padding: clamp(48px, 7vh, 100px) 0;
}

.g-projects-slider__container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: inherit;
}

.g-projects-slider__side-image {
	display: none;
	position: absolute;
	z-index: 0;
	overflow: hidden;
	margin: 0;
	line-height: 0;
	pointer-events: none;
}

.g-projects-slider__featured-img,
.g-projects-slider__side-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g-projects-slider__layout {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	max-width: min(920px, 100%);
	margin: 0 auto;
}

.g-projects-slider__media {
	display: flex;
	align-items: center;
	gap: 18px;
}

.g-projects-slider__location {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	flex: 0 0 auto;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.g-projects-slider__featured {
	width: min(100%, 340px);
	aspect-ratio: 3 / 4;
	overflow: hidden;
	margin: 0;
	line-height: 0;
}

.g-projects-slider__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	max-width: 480px;
}

.g-projects-slider__title {
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-size: clamp(36px, 4.5vw, 64px);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--color-text-inverse);
}

.g-projects-slider__info {
	margin-bottom: 26px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text-inverse);
}

.g-projects-slider__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin-top: 34px;
}

.g-projects-slider .read-more {
	color: var(--color-text-inverse);
}

.g-projects-slider .read-more svg {
	background-color: var(--color-text-inverse);
	--currentColor: var(--color-bg-dark);
}

.g-projects-slider .read-more:hover {
	color: var(--color-text-inverse);
}

@media (min-width: 768px) {
	.g-projects-slider__layout {
		flex-direction: row;
		align-items: center;
		gap: clamp(48px, 5vw, 84px);
	}

	.g-projects-slider__featured {
		width: clamp(300px, 24vw, 400px);
	}
}

@media (min-width: 1280px) {
	.g-projects-slider .g-projects-slider__container.container {
		max-width: none;
		padding-inline: clamp(48px, 5vw, 90px);
	}

	.g-projects-slider__side-image {
		display: block;
	}

	.g-projects-slider__side-image--1 {
		top: 5%;
        right: clamp(32px, 2vw, 72px);
        width: clamp(100px, 15vw, 200px);
        aspect-ratio: 3 / 4;
	}

	.g-projects-slider__side-image--2 {
		bottom: 0%;
        left: 0;
        width: clamp(150px, 20vw, 270px);
        aspect-ratio: 3 / 2;
	}

	.g-projects-slider__side-image--3 {
		right: clamp(40px, 5vw, 88px);
		bottom: 5%;
		width: clamp(180px, 14vw, 260px);
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 767px) {
	.g-projects-slider__location {
		writing-mode: horizontal-tb;
		transform: none;
		margin-bottom: 12px;
	}

	.g-projects-slider__media {
		flex-direction: column;
		align-items: flex-start;
	}

	.g-projects-slider__content {
		max-width: none;
	}
}

/* Instagram Feed — general-instagram-feed.php */
.g-ig-feed.screen {
	padding-bottom: 0;
}

.g-ig-feed__header {
	text-align: center;
	margin-bottom: 30px;
}

.g-ig-feed__brand {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	color: var(--color-text);
	text-decoration: none;
	transition: opacity 0.4s ease;
}

.g-ig-feed__brand:hover{
	opacity: .75;
}

.g-ig-feed__icon {
	display: block;
	width: 64px;
	height: 65px;
}

.g-ig-feed__username {
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}
.g-ig-feed #sb_instagram, .g-ig-feed #sbi_images{
	padding-bottom: 0 !important;
}
@media(min-width:1024px){
	.g-ig-feed #sbi_images .sbi_item:nth-child(odd){
		transform: translateY(30px);
		position: relative;
		z-index: 2;
	}
}
