/*
Theme Name: DecodeHost
Theme URI: https://decodehost.com
Author: DecodeHost
Author URI: https://decodehost.com
Description: Custom block theme (Full Site Editing) for DecodeHost – AI guest guides for vacation rentals. Every section of the homepage is built with native blocks and patterns, so texts, images and buttons can be edited in the Site Editor without code.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: decodehost
Tags: full-site-editing, block-patterns, block-styles, one-column, wide-blocks, custom-colors, editor-style
*/

/* ---------------------------------------------------------------
   Base
---------------------------------------------------------------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	position: relative;
}

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

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

img {
	height: auto;
}

strong {
	font-weight: 700;
	color: inherit;
}

.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   Block style variations
---------------------------------------------------------------- */

/* Buttons */
.wp-block-button.is-style-dh-accent .wp-block-button__link {
	background-color: var(--wp--preset--color--accent);
	color: #fff;
}

.wp-block-button.is-style-dh-accent .wp-block-button__link:hover,
.wp-block-button.is-style-dh-accent .wp-block-button__link:focus {
	background-color: #0f7667;
	color: #fff;
}

.wp-block-button.is-style-dh-light .wp-block-button__link {
	background-color: #fff;
	color: var(--wp--preset--color--primary);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wp-block-button.is-style-dh-light .wp-block-button__link:hover,
.wp-block-button.is-style-dh-light .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--primary-dark);
}

.wp-block-button.is-style-dh-outline-light .wp-block-button__link {
	background-color: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.wp-block-button.is-style-dh-outline-light .wp-block-button__link:hover {
	background-color: #fff;
	color: var(--wp--preset--color--primary);
}

.wp-block-button.is-style-dh-text .wp-block-button__link {
	background-color: transparent;
	color: inherit;
	padding-left: 0.6em;
	padding-right: 0.6em;
}

.wp-block-button.is-style-dh-text .wp-block-button__link:hover {
	background-color: transparent;
	text-decoration: underline;
	text-underline-offset: 4px;
	transform: none;
}

.wp-block-button.dh-btn-lg .wp-block-button__link {
	padding: 1em 2.1em;
}

/* Cards */
.is-style-dh-card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid rgba(231, 224, 213, 0.7);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--custom--shadow--card);
	padding: clamp(1.4rem, 3vw, 2rem);
	color: var(--wp--preset--color--text);
}

/* Lists */
.is-style-dh-checklist,
.is-style-dh-plain {
	list-style: none;
	padding-left: 0;
}

.is-style-dh-checklist li {
	position: relative;
	padding-left: 1.8rem;
	margin: 0.45rem 0;
	font-size: 0.95rem;
	line-height: 1.45;
}

.is-style-dh-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.1em;
	height: 1.1em;
	background: url("assets/icons/check.svg") center / contain no-repeat;
}

.is-style-dh-plain li {
	margin: 0.35rem 0;
}

/* Paragraphs */
.is-style-dh-eyebrow {
	font-size: 0.78rem !important;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.25rem;
}

.is-style-dh-script {
	font-family: var(--wp--preset--font-family--script);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	line-height: 1.05;
	color: var(--wp--preset--color--primary);
	transform: rotate(-6deg);
	transform-origin: left center;
}

/* Images */
.is-style-dh-rounded img,
.wp-block-image.is-style-dh-rounded img,
.wp-block-post-featured-image.is-style-dh-rounded img {
	border-radius: var(--wp--custom--radius--image);
}

.wp-block-image.is-style-dh-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.wp-block-image.is-style-dh-icon {
	margin: 0;
	flex-shrink: 0;
}

.wp-block-image.is-style-dh-icon img {
	width: 30px;
	height: 30px;
}

.dh-lead {
	font-size: 1.0625rem;
	max-width: 560px;
}

.dh-measure {
	max-width: 640px;
}

.dh-section h2 {
	margin-top: 0.3rem;
	margin-bottom: 1rem;
}

/* Dark sections */
.dh-dark,
.dh-hero,
.dh-cta {
	color: #fff;
}

.dh-dark h1,
.dh-dark h2,
.dh-dark h3,
.dh-dark h4,
.dh-hero h1,
.dh-hero h2,
.dh-hero h3,
.dh-cta h1,
.dh-cta h2,
.dh-cta h3 {
	color: #fff;
}

.dh-dark .is-style-dh-eyebrow,
.dh-hero .is-style-dh-eyebrow,
.dh-cta .is-style-dh-eyebrow {
	color: rgba(255, 255, 255, 0.85);
}

.dh-dark a:not(.wp-element-button),
.dh-hero a:not(.wp-element-button),
.dh-cta a:not(.wp-element-button) {
	color: #fff;
}

.dh-dark .is-style-dh-script,
.dh-hero .is-style-dh-script,
.dh-cta .is-style-dh-script {
	color: #fff;
}

/* ---------------------------------------------------------------
   Header
---------------------------------------------------------------- */
.dh-header {
	position: relative;
	z-index: 30;
}

.dh-header__bar {
	gap: 1.5rem;
}

.dh-logo {
	margin: 0;
	flex-shrink: 0;
}

.dh-logo img {
	height: 40px;
	width: auto;
	display: block;
}

.dh-header .dh-nav {
	flex: 1 1 auto;
}

.dh-header .wp-block-navigation {
	gap: 2rem;
}

.dh-header .wp-block-navigation .wp-block-navigation-item__content {
	color: #fff;
	text-decoration: none;
	opacity: 0.92;
}

.dh-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 6px;
}

.dh-header__actions {
	gap: 0.75rem;
	flex-shrink: 0;
}

.dh-header .wp-block-button__link {
	font-size: 0.875rem;
	padding: 0.7em 1.35em;
}

@media (min-width: 1081px) {
	.dh-header .wp-block-navigation__container {
		gap: 2rem;
	}
}

/* Homepage: header floats over the hero photo. */
body.home .wp-site-blocks > header:first-child,
body.home .dh-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
}

body.home .dh-header.has-background {
	background-color: transparent !important;
}

/* Collapse the menu into the hamburger below 1080px (core does it only below 600px). */
@media (min-width: 600px) and (max-width: 1080px) {
	.dh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.dh-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 1080px) {
	.dh-header .dh-nav {
		flex: 0 0 auto;
		order: 3;
	}

	.dh-header .dh-header__actions {
		margin-left: auto !important;
	}

	.dh-hide-mobile {
		display: none !important;
	}
}

.dh-nav .wp-block-navigation__responsive-container-open,
.dh-nav .wp-block-navigation__responsive-container-close {
	color: #fff;
}

.dh-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 2rem 1.5rem;
}

.dh-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.35rem;
	padding: 0.4rem 0;
}

/* ---------------------------------------------------------------
   Hero
---------------------------------------------------------------- */
.dh-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(7, 53, 49, 0.94) 0%, rgba(7, 53, 49, 0.8) 32%, rgba(7, 53, 49, 0.2) 64%, rgba(7, 53, 49, 0) 100%),
		linear-gradient(0deg, rgba(7, 53, 49, 0.75) 0%, rgba(7, 53, 49, 0) 38%) !important;
	opacity: 1 !important;
}

.dh-hero .wp-block-cover__inner-container {
	color: #fff;
}

.dh-hero__wrap {
	position: relative;
}

.dh-hero__content {
	max-width: 640px;
}

.dh-hero__content > * {
	margin-top: 0;
}

.dh-hero h1 {
	margin: 0.6rem 0 1.1rem;
	letter-spacing: -0.03em;
}

.dh-hero .has-large-font-size {
	max-width: 540px;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 1.8rem;
}

.dh-hero .wp-block-buttons + p {
	margin-top: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
}

.dh-hero-script {
	position: absolute;
	top: -2.5rem;
	right: 0;
	margin: 0;
	font-size: clamp(2rem, 3.2vw, 2.9rem) !important;
	text-align: right;
	transform: rotate(-8deg);
	transform-origin: right center;
	z-index: 2;
}

.dh-benefits {
	margin-top: clamp(2.5rem, 7vw, 5rem) !important;
	gap: 0 !important;
}

.dh-benefit {
	gap: 0.9rem;
	padding-right: clamp(1.25rem, 3vw, 2.75rem);
	margin-right: clamp(1.25rem, 3vw, 2.75rem);
	border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.dh-benefit:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.dh-icon-ring img {
	width: 54px !important;
	height: 54px !important;
	padding: 13px;
	border: 1.5px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
}

.dh-benefit__text > *,
.dh-feature__text > *,
.dh-person > .wp-block-group > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	line-height: 1.4;
}

.dh-benefit__text .has-x-small-font-size {
	color: rgba(255, 255, 255, 0.78);
}

/* ---------------------------------------------------------------
   Features
---------------------------------------------------------------- */
.dh-phone {
	margin: 0;
}

.dh-phone img {
	width: 100%;
	max-width: 380px;
	filter: drop-shadow(0 30px 40px rgba(10, 47, 45, 0.22));
	margin-inline: auto;
	display: block;
}

.dh-feature {
	gap: 0.9rem;
}

.dh-feature strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
	font-size: 0.98rem;
}

.dh-feature .has-x-small-font-size {
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------
   How it works
---------------------------------------------------------------- */
.dh-how h2 {
	margin-top: 0.25rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.dh-steps .dh-step {
	position: relative;
}

.dh-steps > .dh-step + .dh-step::before {
	content: "";
	position: absolute;
	top: 22px;
	left: calc(-1 * var(--dh-step-gap, 2em) / 2);
	width: 44px;
	height: 12px;
	transform: translate(-50%, -50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M1 6h41M37 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.8;
}

.dh-step__num {
	width: 44px;
	height: 44px;
	margin: 0 auto 1rem !important;
	border-radius: 50%;
	background: #fff;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	font-size: 1.05rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dh-step h3 {
	margin: 0 0 0.4rem;
	font-weight: 500;
	line-height: 1.3;
}

.dh-step p.has-small-font-size {
	margin-top: 0;
	color: rgba(255, 255, 255, 0.8);
}

/* ---------------------------------------------------------------
   Property types
---------------------------------------------------------------- */
.dh-type-card {
	padding: 0 !important;
	overflow: hidden;
	border-radius: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dh-type-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(10, 47, 45, 0.12);
}

.dh-type-card > * {
	margin: 0 !important;
}

.dh-type-card__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.dh-type-card__label {
	padding: 0.85rem 1rem;
	font-size: 0.95rem;
	color: var(--wp--preset--color--contrast);
}

.dh-type-card__label strong {
	font-weight: 500;
}

/* ---------------------------------------------------------------
   Branding split
---------------------------------------------------------------- */
.dh-split {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	align-items: stretch !important;
}

.dh-split > .dh-split__media {
	align-self: stretch !important;
}

.dh-fill {
	height: 100%;
	margin: 0;
}

.dh-fill img {
	width: 100%;
	height: 100%;
	min-height: 380px;
	object-fit: cover;
	display: block;
}

.dh-split__text .wp-block-buttons {
	margin-top: 1.75rem;
}

/* ---------------------------------------------------------------
   Testimonials
---------------------------------------------------------------- */
.dh-testimonial {
	display: flex;
	flex-direction: column;
}

.dh-quote {
	font-size: 1rem;
	line-height: 1.55;
	color: var(--wp--preset--color--contrast);
	margin: 0;
}

.dh-stars {
	color: var(--wp--preset--color--gold);
	letter-spacing: 0.18em;
	font-size: 1rem;
	margin: 0.9rem 0 0.8rem !important;
	line-height: 1;
}

.dh-person {
	gap: 0.8rem;
	margin-top: auto !important;
}

.dh-person .wp-block-image {
	margin: 0;
}

.dh-person .has-small-font-size strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.dh-person .has-x-small-font-size {
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------
   Pricing
---------------------------------------------------------------- */
.dh-pricing .wp-block-columns {
	align-items: center;
}

.dh-note {
	gap: 0.25rem;
	margin-top: 2rem !important;
	align-items: flex-start;
}

.dh-note .is-style-dh-script {
	font-size: clamp(1.8rem, 2.6vw, 2.3rem);
	margin: 0;
}

.dh-scribble {
	margin: 1.2rem 0 0 !important;
}

.dh-scribble img {
	width: 96px;
}

.dh-plan {
	position: relative;
	overflow: hidden;
	align-self: stretch !important;
	display: flex;
	flex-direction: column;
}

.dh-plan > * {
	margin-top: 0;
	margin-bottom: 0;
}

.dh-plan__name {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
}

.dh-price {
	font-size: clamp(2.4rem, 4vw, 2.9rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--contrast);
	margin: 0.4rem 0 0.2rem !important;
}

.dh-price sub {
	font-size: 1.1rem;
	font-weight: 500;
	vertical-align: baseline;
	letter-spacing: 0;
	margin-left: 0.3rem;
}

.dh-plan__sub {
	color: var(--wp--preset--color--muted);
	margin-bottom: 1rem !important;
}

.dh-plan .is-style-dh-checklist {
	margin-bottom: 1.5rem;
}

.dh-plan__cta {
	margin-top: auto !important;
}

.dh-plan--featured {
	border: 2px solid var(--wp--preset--color--primary);
	padding-top: 0 !important;
}

.dh-badge {
	margin: 0 calc(-1 * clamp(1.4rem, 3vw, 2rem)) 1.4rem !important;
	padding: 0.5rem 1rem;
	background: var(--wp--preset--color--primary);
	color: #fff;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------
   Final call to action
---------------------------------------------------------------- */
.dh-cta .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(5, 45, 50, 0.45) 0%, rgba(5, 45, 50, 0.25) 100%) !important;
	opacity: 1 !important;
}

.dh-cta__wrap {
	position: relative;
}

.dh-cta h2 {
	margin: 0.3rem 0 1.5rem;
}

.dh-cta .wp-block-buttons + p {
	color: rgba(255, 255, 255, 0.9);
	margin-top: 0.9rem;
}

.dh-cta-script {
	position: absolute;
	right: 0;
	bottom: 18%;
	margin: 0 !important;
	font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
	transform: rotate(-8deg);
	transform-origin: right center;
	max-width: none !important;
}

/* ---------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
.dh-footer {
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: 0.875rem;
}

.dh-logo--footer img {
	height: 40px;
}

.dh-tagline {
	margin-top: 0.9rem;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.dh-footer__title {
	margin: 0 0 0.6rem;
	color: var(--wp--preset--color--contrast);
}

.dh-footer__title strong {
	font-weight: 500;
}

.dh-footer .is-style-dh-plain {
	margin: 0;
}

.dh-footer .is-style-dh-plain a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
	font-size: 0.85rem;
}

.dh-footer .is-style-dh-plain a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
}

.dh-footer .wp-block-social-links.is-style-logos-only .wp-social-link {
	color: var(--wp--preset--color--contrast);
}

.dh-footer .wp-block-social-links {
	gap: 0.9rem;
	margin-bottom: 1rem;
}

.dh-footer .has-text-align-right {
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------
   Inner pages & blog
---------------------------------------------------------------- */
.dh-page-hero .has-large-font-size {
	color: rgba(255, 255, 255, 0.88);
	max-width: 620px;
}

.dh-page-hero h1 {
	margin-bottom: 0.5rem;
}

.dh-post-card {
	padding: 0 !important;
	overflow: hidden;
}

.dh-post-card .wp-block-post-featured-image {
	margin: 0;
}

.dh-post-card__body {
	padding: 1.25rem 1.5rem 1.6rem;
}

.dh-post-card__body > * {
	margin-top: 0.4rem;
}

.dh-note-box {
	background: var(--wp--preset--color--mint);
	border-radius: 12px;
	padding: 1rem 1.25rem;
}

.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 1rem 0;
}

.wp-block-details summary {
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

/* ---------------------------------------------------------------
   Responsive
---------------------------------------------------------------- */
@media (max-width: 781px) {
	.dh-logo img {
		height: 32px;
	}

	.dh-header .wp-block-button__link {
		font-size: 0.8rem;
		padding: 0.6em 1.05em;
	}

	.dh-hero {
		min-height: 0 !important;
		padding-top: 7rem !important;
	}

	.dh-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(7, 53, 49, 0.55) 0%, rgba(7, 53, 49, 0.88) 55%, rgba(7, 53, 49, 0.95) 100%) !important;
	}

	.dh-hero-script {
		position: static;
		text-align: right;
		font-size: 1.7rem !important;
		margin: 0 0 1.25rem !important;
	}

	.dh-benefits {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 1rem !important;
	}

	.dh-benefit {
		border-right: 0;
		margin-right: 0;
		padding-right: 0;
	}

	.dh-icon-ring img {
		width: 46px !important;
		height: 46px !important;
		padding: 11px;
	}

	.dh-phone img {
		max-width: 280px;
	}

	.dh-steps {
		gap: 2.25rem !important;
	}

	.dh-steps > .dh-step + .dh-step::before {
		display: none;
	}

	.dh-split__text {
		padding-left: clamp(1rem, 4vw, 2.5rem) !important;
		padding-right: clamp(1rem, 4vw, 2.5rem) !important;
	}

	.dh-fill img {
		min-height: 260px;
		max-height: 340px;
	}

	.dh-note {
		margin-top: 1rem !important;
	}

	.dh-cta-script {
		position: static;
		text-align: center;
		margin-top: 1.5rem !important;
		transform: rotate(-4deg);
		transform-origin: center;
	}

	.dh-footer__social .wp-block-social-links {
		justify-content: flex-start !important;
	}

	.dh-footer .has-text-align-right {
		text-align: left !important;
	}
}

@media (max-width: 480px) {
	.dh-header__bar {
		gap: 1rem;
	}

	.dh-logo img {
		height: 30px;
	}

	.dh-header__actions {
		display: none !important;
	}

	.dh-header .dh-nav {
		margin-left: auto !important;
	}
}

@media (min-width: 600px) and (max-width: 781px) {
	.dh-footer__cols {
		flex-wrap: wrap !important;
	}

	.dh-footer__cols > .wp-block-column {
		flex-basis: 45% !important;
	}
}

/* ---------------------------------------------------------------
   Coming soon (under construction mode)
---------------------------------------------------------------- */
.dh-soon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-image: radial-gradient(ellipse at 80% 10%, rgba(19, 138, 121, 0.45) 0%, rgba(19, 138, 121, 0) 55%),
		radial-gradient(ellipse at 10% 90%, rgba(11, 74, 69, 0.9) 0%, rgba(11, 74, 69, 0) 60%);
}

.dh-soon > * {
	width: 100%;
}

.dh-soon__logo img {
	height: 44px;
	margin-inline: auto;
}

.dh-soon__body {
	margin-block: auto !important;
	padding-block: var(--wp--preset--spacing--60);
}

.dh-soon__body h1 {
	margin: 0.5rem auto 1.25rem;
}

.dh-soon__body .has-large-font-size {
	color: rgba(255, 255, 255, 0.88);
	max-width: 600px;
	margin-inline: auto;
	margin-bottom: 2rem;
}

.dh-soon__script {
	margin-top: 2.5rem !important;
	font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
	transform: rotate(-4deg);
	transform-origin: center;
}

.dh-soon__foot {
	color: rgba(255, 255, 255, 0.65);
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}

/* ---------------------------------------------------------------
   Language switcher (header)
---------------------------------------------------------------- */
.dh-header .dh-logo { order: 0; }
.dh-header .dh-nav { order: 1; }
.dh-header .dh-lang { order: 2; }
.dh-header .dh-header__actions { order: 3; }

.dh-lang {
	display: flex;
	gap: 0.6rem;
	flex-shrink: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.dh-lang:empty {
	display: none;
}

.dh-lang a {
	color: #fff;
	opacity: 0.7;
	text-decoration: none;
	text-transform: uppercase;
}

.dh-lang a:hover,
.dh-lang a[aria-current="true"] {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 5px;
}

@media (max-width: 1080px) {
	.dh-header .dh-nav { order: 4; }
	.dh-header .dh-lang { margin-left: auto; }
	.dh-header .dh-lang ~ .dh-header__actions { margin-left: 0 !important; }
}

@media (max-width: 480px) {
	.dh-header .dh-lang ~ .dh-nav { margin-left: 0 !important; }
}
