/**
 * Oazis front-end layout: header, footer, templates, sliders.
 */

/* -------------------------------------------------------------------- Base */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.oazis-lock {
	overflow: hidden;
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent, #a68a64);
	outline-offset: 2px;
}

.oazis-container {
	width: 100%;
	max-width: calc(var(--oazis-wide) + 2 * var(--oazis-gutter));
	margin-inline: auto;
	padding-inline: var(--oazis-gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto !important;
	clip-path: none;
	background-color: #fff;
	color: #000;
	font-size: 14px;
	text-decoration: none;
}

.skip-link:focus {
	position: fixed !important;
}

.alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 0.6em;
	color: var(--wp--preset--color--muted, #8a8a8a);
	font-size: 14px;
}

.sticky .oazis-row-card__title::before {
	content: "\2605\00a0";
}

.bypostauthor > .comment-body .fn::after {
	content: " \2713";
}

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

.oazis-header {
	position: relative;
	z-index: 100;
	background-color: var(--oazis-dark);
	color: #fff;
}

.has-oazis-hero .oazis-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	padding-bottom: 30px;
	background: linear-gradient(180deg, var(--oazis-dark) 5%, rgba(0, 0, 0, 0) 100%);
}

.admin-bar.has-oazis-hero .oazis-header {
	top: 32px;
}

.oazis-header a {
	color: inherit;
	text-decoration: none;
}

.oazis-header__bar {
	position: relative;
}

.oazis-header__top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 130px;
	gap: 20px;
}

.oazis-header__side {
	display: flex;
	align-items: center;
	gap: clamp(30px, 7vw, 105px);
	min-width: 0;
}

.oazis-header__side--right {
	justify-content: flex-end;
	gap: clamp(30px, 5vw, 75px);
}

.oazis-header__brand {
	display: flex;
	justify-content: center;
}

.oazis-logo {
	display: inline-flex;
	color: #fff;
	line-height: 0;
}

.oazis-logo-svg {
	width: auto;
	height: 96px;
	fill: currentColor;
}

.oazis-logo--custom img {
	width: auto;
	max-width: 280px;
	max-height: 100px;
}

.oazis-logo--custom.is-inverted img {
	filter: invert(1);
}

.oazis-phone,
.oazis-address {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.oazis-address .oazis-icon {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
}

.oazis-phone:hover,
.oazis-address:hover {
	text-decoration: underline;
}

.oazis-round-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.oazis-round-icon .oazis-icon {
	width: 22px;
	height: 22px;
}

.oazis-booking-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.oazis-booking-link:hover .oazis-round-icon,
.oazis-booking-link:focus-visible .oazis-round-icon {
	border-color: #fff;
	background-color: #fff;
	color: #000;
}

/* Language switcher */

.oazis-lang {
	position: relative;
	flex: 0 0 auto;
}

.oazis-lang__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: none;
	color: inherit;
	font: 500 12px/1 var(--oazis-sans);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s;
}

.oazis-lang__toggle:hover,
.oazis-lang__toggle[aria-expanded="true"] {
	background-color: #fff;
	color: #000;
}

.oazis-lang__chevron {
	width: 11px;
	height: 11px;
	transition: transform 0.25s;
}

.oazis-lang__toggle[aria-expanded="true"] .oazis-lang__chevron {
	transform: rotate(180deg);
}

.oazis-lang__list {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	z-index: 20;
	min-width: 64px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	color: #000;
	text-align: center;
	transform: translateX(-50%);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.oazis-lang__list[hidden] {
	display: none;
}

.oazis-lang__list a {
	display: block;
	padding: 7px 14px;
	color: #000;
	font: 500 12px/1.2 var(--oazis-sans);
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.oazis-lang__list a:hover,
.oazis-lang__list a:focus-visible {
	text-decoration: underline;
}

.oazis-lang__list a.gt-current-lang {
	font-weight: 700;
	text-decoration: underline;
}

/* Primary navigation */

.oazis-header__nav-inner {
	display: flex;
	align-items: center;
	gap: 30px;
	min-height: 62px;
}

.oazis-menu {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oazis-menu > li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 62px;
}

.oazis-menu > li > a {
	position: relative;
	padding: 6px 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.oazis-menu > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--oazis-ease);
}

.oazis-menu > li:hover > a::after,
.oazis-menu > li > a:focus-visible::after,
.oazis-menu > .current-menu-item > a::after,
.oazis-menu > .current-menu-ancestor > a::after,
.oazis-menu > .current_page_item > a::after,
.oazis-menu > .current_page_ancestor > a::after {
	transform: scaleX(1);
}

.oazis-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.oazis-submenu-toggle .oazis-icon {
	width: 11px;
	height: 11px;
	transition: transform 0.25s;
}

.oazis-submenu-toggle[aria-expanded="true"] .oazis-icon {
	transform: rotate(180deg);
}

.oazis-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -30px;
	z-index: 30;
	min-width: 250px;
	margin: 0;
	padding: 20px 30px;
	list-style: none;
	background: #fff;
	color: #000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.oazis-menu > li:hover > .sub-menu,
.oazis-menu > li:focus-within > .sub-menu,
.oazis-menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.oazis-menu .sub-menu a {
	display: block;
	padding: 6px 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.oazis-menu .sub-menu a:hover,
.oazis-menu .sub-menu a:focus-visible,
.oazis-menu .sub-menu .current-menu-item > a {
	text-decoration: underline;
}

.oazis-header__mini-logo,
.oazis-header__mini-booking {
	display: none;
}

.oazis-header__mini-logo .oazis-logo-svg {
	height: 34px;
}

.oazis-header__mini-booking .oazis-round-icon {
	width: 40px;
	height: 40px;
}

.oazis-header__mini-booking .oazis-booking-link__label {
	font-size: 14px;
}

.oazis-header__mobile-actions {
	display: none;
}

/* Compact header after scrolling (desktop and mobile). */
.oazis-header.is-compact {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	padding-bottom: 0;
	background: var(--oazis-dark);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
	animation: oazis-drop 0.35s var(--oazis-ease);
}

.admin-bar .oazis-header.is-compact {
	top: 32px;
}

@keyframes oazis-drop {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: none;
	}
}

.oazis-header-spacer {
	display: block;
}

@media (min-width: 1200px) {
	.oazis-header.is-compact .oazis-header__top {
		display: none;
	}

	.oazis-header.is-compact .oazis-header__mini-logo,
	.oazis-header.is-compact .oazis-header__mini-booking {
		display: inline-flex;
		flex: 0 0 auto;
	}

	.oazis-header.is-compact .oazis-menu {
		justify-content: center;
		gap: clamp(18px, 2.4vw, 42px);
	}
}

/* Narrow desktops: the address stays in the drawer, footer and contacts. */
@media (min-width: 1200px) and (max-width: 1359px) {
	.oazis-header__side--right .oazis-address {
		display: none;
	}

	.oazis-header__side {
		gap: 40px;
	}

	.oazis-menu > li > a {
		letter-spacing: 0.07em;
	}
}

/* Tablet and mobile header */
@media (max-width: 1199px) {
	.oazis-header__top {
		grid-template-columns: auto 1fr;
		min-height: 90px;
	}

	.oazis-header__side {
		display: none;
	}

	.oazis-header__brand {
		justify-content: flex-start;
	}

	.oazis-logo-svg {
		height: 62px;
	}

	.oazis-logo--custom img {
		max-width: 190px;
		max-height: 64px;
	}

	.oazis-header__nav {
		display: none;
	}

	.oazis-header__mobile-actions {
		position: absolute;
		top: 0;
		right: var(--oazis-gutter);
		bottom: 0;
		display: flex;
		align-items: center;
		gap: 22px;
	}

	.oazis-header__mobile-actions .oazis-lang__toggle {
		width: 40px;
		height: 40px;
	}

	.has-oazis-hero .oazis-header {
		padding-bottom: 36px;
	}

	.oazis-header.is-compact .oazis-header__top {
		min-height: 70px;
	}

	.oazis-header.is-compact .oazis-logo-svg {
		height: 44px;
	}
}

@media (max-width: 782px) {
	.admin-bar.has-oazis-hero .oazis-header {
		top: 46px;
	}

	.admin-bar .oazis-header.is-compact {
		top: 0;
	}
}

@media (max-width: 480px) {
	.oazis-logo-svg {
		height: 50px;
	}

	.oazis-header__mobile-actions {
		gap: 14px;
	}

	.oazis-burger {
		gap: 8px;
		font-size: 13px;
		letter-spacing: 0.14em;
	}
}

@media (max-width: 340px) {
	.oazis-burger__label {
		display: none;
	}
}

.oazis-burger {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: inherit;
	font: 500 14px/1 var(--oazis-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
}

.oazis-burger .oazis-icon {
	width: 26px;
	height: 26px;
	fill: currentColor;
	stroke: none;
}

/* Mobile drawer */

.oazis-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	overflow-y: auto;
	background: var(--oazis-dark);
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s var(--oazis-ease);
	overscroll-behavior: contain;
}

.oazis-drawer.is-open {
	opacity: 1;
}

.oazis-drawer[hidden] {
	display: none;
}

.admin-bar .oazis-drawer {
	top: 46px;
}

@media (min-width: 783px) {
	.admin-bar .oazis-drawer {
		top: 32px;
	}
}

.oazis-drawer__inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 18px var(--oazis-gutter) 40px;
}

.oazis-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
}

.oazis-drawer__head .oazis-logo-svg {
	height: 38px;
}

.oazis-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
}

.oazis-drawer__close .oazis-icon {
	width: 22px;
	height: 22px;
}

.oazis-drawer__menu,
.oazis-drawer__menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oazis-drawer__menu {
	margin-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.oazis-drawer__menu > li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.oazis-drawer__menu > li > a {
	flex: 1 1 auto;
	padding: 16px 0;
	font-family: var(--oazis-serif);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.oazis-drawer__menu .oazis-submenu-toggle {
	width: 44px;
	height: 44px;
}

.oazis-drawer__menu .oazis-submenu-toggle .oazis-icon {
	width: 16px;
	height: 16px;
}

.oazis-drawer__menu .sub-menu {
	display: none;
	flex: 0 0 100%;
	padding: 0 0 16px 14px;
}

.oazis-drawer__menu li.is-open > .sub-menu {
	display: block;
}

.oazis-drawer__menu .sub-menu a {
	display: block;
	padding: 8px 0;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
}

.oazis-drawer a {
	color: inherit;
	text-decoration: none;
}

.oazis-drawer__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-top: auto;
	padding-top: 40px;
}

.oazis-drawer__phone {
	font-size: 20px;
}

.oazis-drawer .oazis-address {
	white-space: normal;
}

/* ------------------------------------------------------------ Page header */

.oazis-page-header {
	padding-top: clamp(30px, 5vw, 60px);
	padding-bottom: 17px;
}

.oazis-page-title {
	margin: 25px 0 0;
	font-family: var(--oazis-serif);
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 600;
	line-height: 1.45;
	text-transform: uppercase;
}

.oazis-archive-description {
	max-width: 760px;
	margin-top: 10px;
}

.oazis-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.03em;
}

.oazis-breadcrumbs__item + .oazis-breadcrumbs__item::before {
	content: "\2014";
	margin: 0 12px;
}

.oazis-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.oazis-breadcrumbs a:hover,
.oazis-breadcrumbs a:focus-visible {
	text-decoration: underline;
}

.oazis-page-crumbs {
	padding-top: 35px;
}

.oazis-content > .oazis-page-crumbs {
	max-width: var(--oazis-wide);
	margin-bottom: 20px;
}

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

.oazis-content {
	padding-bottom: var(--oazis-section-gap);
}

.oazis-content::after {
	content: "";
	display: table;
	clear: both;
}

.oazis-content > .alignfull:first-child {
	margin-top: 0;
}

.oazis-content > .alignfull,
.oazis-content > .alignwide,
.oazis-content > .wp-block-media-text,
.oazis-content > .is-style-oazis-section,
.oazis-content > .is-style-oazis-slider {
	margin-top: var(--oazis-section-gap);
}

.oazis-content > .is-style-oazis-section + * {
	margin-top: 35px;
}

.oazis-content > .oazis-page-crumbs + * {
	margin-top: 30px;
}

.no-oazis-hero .oazis-content > :first-child {
	margin-top: 30px;
}

/* An intro paragraph under the page title lines up with the title. */
.no-oazis-hero .oazis-content > p:first-child {
	max-width: var(--oazis-wide);
}

.oazis-content > .wp-block-media-text + .wp-block-media-text {
	margin-top: 60px;
}

.oazis-content > .alignfull:last-child {
	margin-bottom: calc(var(--oazis-section-gap) * -1);
}

.oazis-content > .wp-block-heading:not(.is-style-oazis-section) {
	margin-top: 45px;
}

.oazis-content p,
.oazis-content li {
	overflow-wrap: break-word;
}

.oazis-content > p a,
.oazis-content li a {
	text-decoration: underline;
}

/* ----------------------------------------------------------------- Sliders */

.oazis-slider {
	position: relative;
}

.oazis-slider__viewport {
	position: relative;
	overflow: hidden;
}

.oazis-slider__track {
	display: flex;
	gap: var(--oazis-slider-gap, 0px);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.oazis-slider__track::-webkit-scrollbar {
	display: none;
}

.oazis-slider__track > * {
	flex: 0 0 calc((100% - (var(--oazis-per-view, 1) - 1) * var(--oazis-slider-gap, 0px)) / var(--oazis-per-view, 1));
	min-width: 0;
	margin: 0 !important;
	scroll-snap-align: start;
}

.oazis-slider__btn {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: none;
	color: currentColor;
	cursor: pointer;
	opacity: 0.9;
	transition: opacity 0.2s, transform 0.2s;
}

.oazis-slider__btn:hover {
	opacity: 1;
}

.oazis-slider__btn[disabled] {
	opacity: 0.25;
	cursor: default;
}

.oazis-slider__btn .oazis-icon {
	width: 30px;
	height: 30px;
	stroke-width: 1;
}

.oazis-slider__btn--prev {
	left: -60px;
}

.oazis-slider__btn--next {
	right: -60px;
}

.oazis-slider.alignfull .oazis-slider__btn,
.oazis-slider.is-covers .oazis-slider__btn {
	color: #fff;
}

.oazis-slider.alignfull .oazis-slider__btn--prev,
.oazis-slider.is-covers .oazis-slider__btn--prev {
	left: 28px;
}

.oazis-slider.alignfull .oazis-slider__btn--next,
.oazis-slider.is-covers .oazis-slider__btn--next {
	right: 28px;
}

/* Split slider: arrows sit inside the dark panel, like the reference. */
.oazis-slider.is-panels .oazis-slider__btn--next {
	right: auto;
	left: min(505px, calc(100% - 72px));
}

.oazis-slider__count {
	position: absolute;
	bottom: 34px;
	left: min(430px, calc(100% - 140px));
	z-index: 5;
	color: #fff;
	font-size: 20px;
	letter-spacing: 0.08em;
	pointer-events: none;
}

.oazis-slider:not(.is-panels) .oazis-slider__count {
	position: static;
	display: block;
	margin-top: 20px;
	color: inherit;
	font-size: 16px;
	text-align: center;
}

.oazis-slider__dots {
	display: none;
}

@media (max-width: 1360px) {
	.oazis-slider:not(.alignfull):not(.is-covers) .oazis-slider__btn--prev {
		left: -44px;
	}

	.oazis-slider:not(.alignfull):not(.is-covers) .oazis-slider__btn--next {
		right: -44px;
	}
}

@media (max-width: 1100px) {
	.oazis-slider:not(.alignfull):not(.is-covers) .oazis-slider__btn {
		top: auto;
		bottom: -58px;
		margin-top: 0;
	}

	.oazis-slider:not(.alignfull):not(.is-covers) .oazis-slider__btn--prev {
		left: calc(50% - 80px);
	}

	.oazis-slider:not(.alignfull):not(.is-covers) .oazis-slider__btn--next {
		right: calc(50% - 80px);
	}

	.oazis-slider:not(.alignfull):not(.is-covers):has(.oazis-slider__btn) {
		padding-bottom: 60px;
	}

	.oazis-slider:not(.is-panels) .oazis-slider__count {
		position: absolute;
		right: 0;
		bottom: 12px;
		left: 0;
		margin: 0;
	}
}

@media (max-width: 781px) {
	.oazis-slider.is-panels .oazis-slider__btn {
		top: 90px;
	}

	.oazis-slider.is-panels .oazis-slider__btn--prev {
		left: 10px;
	}

	.oazis-slider.is-panels .oazis-slider__btn--next {
		right: 10px;
		left: auto;
	}

	.oazis-slider.is-panels .oazis-slider__count {
		top: 100px;
		bottom: auto;
		left: 50%;
		transform: translateX(-50%);
	}

	.oazis-slider__track > * {
		--oazis-per-view-mobile: 1;
	}

	.oazis-slider[style*="--oazis-per-view"] .oazis-slider__track > * {
		flex-basis: calc((100% - var(--oazis-slider-gap, 0px) * 0.25) / 1.25);
	}
}

/* ----------------------------------------------------------- Row cards */

.oazis-list {
	padding-top: 25px;
	padding-bottom: var(--oazis-section-gap);
}

.oazis-row-card {
	display: grid;
	grid-template-columns: 43% 57%;
	min-height: 351px;
}

.oazis-row-card + .oazis-row-card {
	margin-top: 23px;
}

.oazis-row-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--wp--preset--color--sand, #e9e4dc);
}

.oazis-row-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--oazis-ease);
}

.oazis-row-card:hover .oazis-row-card__media img {
	transform: scale(1.04);
}

.oazis-row-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(0, 0, 0, 0.18);
}

.oazis-row-card__placeholder .oazis-logo-svg {
	width: 55%;
	height: auto;
}

.oazis-row-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px clamp(24px, 6vw, 80px);
	border: 1px solid currentColor;
	border-left: 0;
}

.oazis-row-card__date {
	margin: 0 0 14px;
	font-size: 14px;
}

.oazis-row-card__title {
	margin: 0;
	font-family: var(--oazis-sans);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.03em;
	text-transform: none;
}

.oazis-row-card__title a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.oazis-row-card__title a:hover {
	text-decoration: none;
}

.oazis-row-card__excerpt {
	margin-top: 16px;
	color: #333;
}

.oazis-row-card__excerpt p {
	margin: 0;
}

.oazis-row-card .oazis-more-link {
	margin-top: 26px;
	align-self: flex-start;
}

@media (max-width: 781px) {
	.oazis-row-card {
		grid-template-columns: 100%;
		min-height: 0;
	}

	.oazis-row-card__media {
		aspect-ratio: 16 / 10;
	}

	.oazis-row-card__body {
		padding: 28px 22px 32px;
		border-top: 0;
		border-left: 1px solid currentColor;
	}
}

.navigation.pagination {
	margin-top: 50px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid transparent;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: currentColor;
}

.page-numbers .oazis-icon {
	width: 18px;
	height: 18px;
}

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

.oazis-post-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: max(480px, 78vh);
	padding-bottom: clamp(50px, 8vw, 110px);
	overflow: hidden;
	background: #111;
	color: #fff;
}

.oazis-post-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.55) 100%);
}

.oazis-post-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oazis-post-hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.oazis-post-hero__title {
	margin: 0;
	font-family: var(--oazis-serif);
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
	text-wrap: balance;
}

.oazis-single .oazis-single__date {
	margin-top: 40px;
	font-size: 14px;
}

.oazis-single__nav {
	padding-bottom: var(--oazis-section-gap);
}

.oazis-single__nav .nav-links {
	justify-content: space-between;
	gap: 30px;
	padding-top: 40px;
	border-top: 1px solid var(--wp--preset--color--line, #d6d6d6);
}

.oazis-single__nav a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 420px;
	text-decoration: none;
}

.oazis-single__nav .nav-next a {
	align-items: flex-end;
	text-align: right;
}

.oazis-single__nav-label {
	color: var(--wp--preset--color--muted, #8a8a8a);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.oazis-single__nav-title {
	font-size: 18px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.oazis-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.oazis-tags a {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid currentColor;
	text-decoration: none;
}

/* ------------------------------------------------------ Search, 404, forms */

.oazis-search {
	display: flex;
	max-width: 520px;
	border: 1px solid currentColor;
}

.oazis-search__field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
}

.oazis-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	border: 0;
	background: var(--oazis-button);
	color: #fff;
	cursor: pointer;
}

.oazis-search__submit .oazis-icon {
	width: 20px;
	height: 20px;
}

.oazis-404 {
	padding-bottom: var(--oazis-section-gap);
}

.oazis-404 > * + * {
	margin-top: 26px;
}

.oazis-404__code {
	margin: 10px 0 0;
	font-family: var(--oazis-serif);
	font-size: clamp(90px, 16vw, 200px);
	line-height: 1;
	opacity: 0.12;
}

.oazis-none {
	padding: 30px 0;
}

.oazis-comments {
	padding-bottom: var(--oazis-section-gap);
}

.oazis-comments__list {
	padding-left: 0;
	list-style: none;
}

.oazis-comments .children {
	list-style: none;
}

.comment-body {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--wp--preset--color--line, #d6d6d6);
}

.comment-meta .avatar {
	float: left;
	margin-right: 14px;
	border-radius: 50%;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--wp--preset--color--muted, #8a8a8a);
	font: inherit;
}

.oazis-page-links {
	display: flex;
	gap: 10px;
	margin-top: 40px;
}

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

.oazis-footer {
	background-color: var(--oazis-dark);
	color: #fff;
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: 0.03em;
}

.oazis-footer a {
	color: inherit;
	text-decoration: none;
}

.oazis-footer a:hover,
.oazis-footer a:focus-visible {
	text-decoration: underline;
}

.oazis-footer__inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px 40px;
	padding-top: 45px;
	padding-bottom: 60px;
}

.oazis-footer__col > * {
	margin: 0;
}

.oazis-footer__note,
.oazis-footer__legal {
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.72);
}

.oazis-footer__legal {
	font-size: 12px;
	line-height: 1.6;
}

.oazis-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oazis-footer__col--contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
}

.oazis-footer__col--contacts .oazis-address {
	white-space: normal;
}

.oazis-footer__phone {
	font-size: 16px;
}

.oazis-social {
	display: flex;
	gap: 14px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.oazis-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.oazis-social a:hover,
.oazis-social a:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #000;
	text-decoration: none;
}

.oazis-social .oazis-icon {
	width: 19px;
	height: 19px;
}

@media (max-width: 900px) {
	.oazis-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.oazis-footer__col--contacts {
		grid-column: 1 / -1;
		align-items: flex-start;
		text-align: left;
	}
}

@media (max-width: 600px) {
	.oazis-footer__inner {
		grid-template-columns: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
