.deb-header-space { height: 100px; }
.deb-header-space--overlay { margin-bottom: -100px; }
.deb-header {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	right: 0;
	height: 100px;
	background: var(--deb-green-dark);
	color: #fff;
	transition: background-color .2s ease;
}
.admin-bar .deb-header { top: 32px; }
.deb-header--transparent:not(.is-scrolled) { background: transparent; }
.deb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1568px, calc(100% - 160px));
	height: 100%;
	margin: auto;
}
.deb-header .deb-logo { width: 77px; height: 77px; object-fit: contain; }
.deb-header__burger {
	display: grid;
	place-items: center;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #090909;
}
.deb-header__burger:hover { background: var(--deb-cream); }
.deb-header__burger img { width: 23px; height: 11px; }

.deb-menu {
	position: fixed;
	inset: 0;
	width: min(711px, calc(100% - 64px));
	max-width: none;
	height: min(956px, calc(100dvh - 124px));
	max-height: none;
	margin: 62px max(32px, calc((100vw - 1568px) / 2)) auto auto;
	padding: 0;
	border: 0;
	border-radius: 15px;
	background: var(--deb-cream);
	overflow: auto;
	overscroll-behavior: contain;
}
.deb-menu::backdrop { background: rgb(0 0 0 / .35); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.deb-menu__inner { display: flex; flex-direction: column; min-height: 100%; padding: 30px 56px 58px; }
.deb-menu__top { display: flex; justify-content: flex-end; align-items: center; }
.deb-menu__top .deb-menu__close { margin-right: -26px; }
.deb-menu__logo { display: none; }
.deb-menu__navigation { margin: 32px 0 60px; }
.deb-menu .deb-menu__list, .deb-menu .sub-menu { list-style: none; }
.deb-menu__list > li { position: relative; margin: 0 0 20px; padding: 0; }
.deb-menu__list > li > a, .deb-menu__list > li > .deb-menu__submenu-parent { display: inline-block; font-size: 25px; font-weight: 500; line-height: 25px; }
.deb-menu__list > .menu-item-has-children > a { max-width: calc(100% - 48px); }
.deb-menu__list a[aria-current="page"] { color: var(--deb-green); text-decoration: underline; text-underline-offset: 3px; }
.deb-menu__list a:hover, .deb-menu__list a:focus-visible, .deb-menu__submenu-parent:hover, .deb-menu__submenu-parent:focus-visible { color: var(--deb-green); text-decoration: underline; text-underline-offset: 3px; }
.deb-menu .sub-menu { padding: 14px 0; margin: 18px 0 28px; border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; }
.deb-menu .sub-menu li { position: relative; margin: 0 0 10px; }
.deb-menu .sub-menu li:last-child { margin-bottom: 0; }
.deb-menu .sub-menu a { display: inline-block; font-size: 20px; font-weight: 400; line-height: 24px; max-width: calc(100% - 44px); overflow-wrap: anywhere; }
.deb-menu .sub-menu .deb-menu__submenu-parent { font-size: 20px; font-weight: 400; line-height: 24px; overflow-wrap: anywhere; }
.deb-menu .sub-menu .sub-menu { padding-left: 18px; }
.deb-menu__submenu-toggle {
	position: absolute;
	right: 0;
	top: -7px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--deb-green);
	border-radius: 50%;
	transition: background-color .2s ease;
}
.deb-menu__submenu-toggle::after {
	content: '';
	width: 25px;
	height: 25px;
	background: url('../images/menu-next.svg') no-repeat center;
	transform: rotate(90deg);
}
.deb-menu__submenu-toggle[aria-expanded="true"]::after { transform: rotate(-90deg); }
.deb-menu__submenu-toggle:hover, .deb-menu__submenu-toggle:focus-visible { background: rgb(92 121 28 / .12); }
.deb-menu .deb-menu__submenu-parent { position: relative; top: auto; display: block; width: 100%; height: auto; min-height: 24px; padding: 0 48px 0 0; border-radius: 0; background: transparent; color: inherit; text-align: left; }
.deb-menu .deb-menu__submenu-parent::after { position: absolute; top: 0; right: 9px; }
.deb-menu .deb-menu__submenu-parent:hover, .deb-menu .deb-menu__submenu-parent:focus-visible { color: var(--deb-green); }
.deb-menu .deb-social { margin-top: auto; padding-top: 28px; border-top: 1px solid #d9d9d9; }
.deb-social { display: flex; align-items: center; gap: 24px; font-size: 20px; font-weight: 500; line-height: 24px; }
.deb-social__links { display: flex; align-items: center; gap: 20px; }
.deb-social__links a { display: block; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background-image: url('../images/menu-rs.svg'); background-repeat: no-repeat; transition: transform .2s ease, box-shadow .2s ease; }
.deb-social__links a:hover, .deb-social__links a:focus-visible { transform: translateY(-3px) scale(1.1); box-shadow: 0 0 0 3px var(--deb-cream), 0 0 0 5px var(--deb-green); }
.deb-social__links a:focus-visible { outline: 2px solid var(--deb-green-dark); outline-offset: 5px; box-shadow: none; }
.deb-social--light .deb-social__links a { background-image: url('../images/footer-rs.svg'); }
.deb-social--light .deb-social__links a:hover, .deb-social--light .deb-social__links a:focus-visible { box-shadow: 0 0 0 3px var(--deb-green), 0 0 0 5px var(--deb-cream); }
.deb-social--light .deb-social__links a:focus-visible { outline-color: var(--deb-cream); box-shadow: none; }
.deb-social__links .deb-social__instagram { background-position: -50px 0; }
.deb-social__links .deb-social__youtube { background-position: -100px 0; }
.deb-social__links .deb-social__alltrails { background-position: -150px 0; }

.deb-footer { position: relative; padding: 93px 0 30px; background: var(--deb-green); color: #fff; }
.deb-footer__inner { width: min(1568px, calc(100% - 160px)); margin: auto; }
.deb-footer__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 629px); gap: 80px; }
.deb-footer__discovery { display: flex; flex-direction: column; min-width: 0; }
.deb-footer__heading { display: flex; align-items: center; gap: 25px; }
.deb-footer__heading h2 { font-size: 30px; line-height: 30px; }
.deb-footer__icon { flex: 0 0 91px; width: 91px; height: 91px; object-fit: contain; }
.deb-regions { max-width: 768px; margin: 92px 0 45px; }
.deb-regions__switcher { position: relative; }
.deb-regions__scroll { display: none; }
.deb-regions__tabs { display: flex; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid rgb(255 255 255 / .5); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #fff transparent; }
.deb-regions__tabs button { flex: 0 0 auto; min-height: 37px; margin: 0; padding: 4px 10px 5px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 20px; font-weight: 400; line-height: 28px; white-space: nowrap; }
.deb-regions__tabs button[aria-selected="true"] { background: #3e5114; font-weight: 700; }
.deb-regions__tabs button:hover { background: #3e5114; }
.deb-regions__tabs button:focus-visible { outline-offset: -3px; }
.deb-regions__panel { padding-top: 41px; }
.deb-regions__panel ul { columns: 2; column-gap: 40px; list-style: none; }
.deb-regions__panel li { break-inside: avoid; margin: 0 0 17px; }
.deb-regions__panel a { font-size: 18px; font-weight: 500; line-height: 24px; }
.deb-footer__social-desktop { margin-top: auto; padding: 30px 0 23px; }
.deb-footer__social-mobile { display: none; }
.deb-footer__bottom { display: flex; align-items: center; gap: 29px; margin-top: 54px; }
.deb-footer__logo { flex: 0 0 87px; }
.deb-footer__logo .deb-logo { width: 87px; height: 87px; object-fit: contain; }
.deb-footer__copyright { font-size: 16px; line-height: 20px; }
.deb-footer__legal { margin-left: auto; }
.deb-footer__links { display: flex; justify-content: flex-end; flex-wrap: wrap; list-style: none; font-size: 16px; line-height: 20px; }
.deb-footer__links li + li::before { content: '|'; padding: 0 5px; }
.deb-footer__up { position: fixed; z-index: 900; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); width: 45px; height: 45px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: 0 2px 8px rgb(0 0 0 / .15); transition: transform .2s ease, box-shadow .2s ease; }
.deb-footer__up:hover, .deb-footer__up:focus-visible { background: transparent; transform: translateY(-4px) scale(1.08); box-shadow: 0 0 0 2px var(--deb-green), 0 6px 16px rgb(0 0 0 / .25); }
.deb-footer__up:focus-visible { outline: 3px solid var(--deb-green-dark); outline-offset: 4px; }
.deb-footer__up img { transform: rotate(-90deg); width: 45px; height: 45px; }

@media (max-width: 1350px) {
	.deb-header__inner, .deb-footer__inner { width: calc(100% - 64px); }
	.deb-footer__main { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
	.deb-footer__heading { gap: 16px; }
	.deb-footer__heading h2 { font-size: 26px; }
	.deb-regions { margin-top: 60px; }
	.deb-regions__tabs { gap: 4px; }
	.deb-regions__tabs button { font-size: 18px; }
	.deb-regions__panel ul { column-gap: 22px; }
	.deb-footer__bottom { flex-wrap: wrap; }
	.deb-footer__up { right: 20px; }
}
@media (max-width: 900px) {
	.deb-footer { padding-top: 50px; }
	.deb-footer__main { display: block; }
	.deb-footer__heading { flex-direction: column; gap: 16px; text-align: center; }
	.deb-footer__heading h2 { max-width: 340px; font-size: 25px; line-height: 30px; }
	.deb-footer__icon { width: 80px; height: 80px; flex-basis: 80px; }
	.deb-regions { margin-top: 48px; }
	.deb-footer__newsletter { max-width: 629px; margin: 45px auto 0; }
	.deb-footer__social-desktop { display: none; }
	.deb-footer__social-mobile { display: block; }
	.deb-footer__bottom { flex-direction: column; gap: 22px; margin-top: 48px; }
	.deb-footer__legal { margin: 0; }
	.deb-footer__links { justify-content: center; }
	.deb-footer__up { bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 782px) {
	.admin-bar .deb-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .deb-header.is-scrolled { top: 0; }
	.deb-header-space { height: 82px; }
	.deb-header-space--overlay { margin-bottom: -82px; }
	.deb-header { height: 82px; }
	.deb-header__inner, .deb-footer__inner { width: calc(100% - 32px); }
	.deb-header .deb-logo { width: 61px; height: 61px; }
	.deb-header__burger { width: 52px; height: 52px; }
	.deb-menu { width: 100%; height: 100dvh; margin: 0; border-radius: 0; }
	.deb-menu__inner { padding: 48px 16px 36px; }
	.deb-menu__top { justify-content: space-between; }
	.deb-menu__top .deb-menu__close { margin: 0; }
	.deb-menu__logo { display: block; }
	.deb-menu__logo img { width: 79px; height: 79px; object-fit: contain; }
	.deb-menu__navigation { margin: 62px 0 60px; }
	.deb-menu__list > li { margin-bottom: 16px; }
	.deb-menu__list > li > a, .deb-menu__list > li > .deb-menu__submenu-parent { font-size: 18px; line-height: 24px; }
	.deb-menu .sub-menu { margin-top: 14px; margin-bottom: 22px; }
	.deb-menu .sub-menu a, .deb-menu .sub-menu .deb-menu__submenu-parent { font-size: 16px; line-height: 22px; }
	.deb-menu .deb-social { justify-content: center; flex-wrap: wrap; gap: 16px; }
	.deb-social { font-size: 18px; gap: 16px; }
	.deb-social__links { gap: 16px; }
	.deb-footer { padding-top: 60px; padding-bottom: 35px; }
	.deb-footer__heading { gap: 20px; }
	.deb-footer__heading h2 { max-width: 370px; font-size: 25px; line-height: 30px; }
	.deb-footer__icon { width: 91px; height: 91px; flex-basis: 91px; }
	.deb-regions { margin: 40px 0 0; }
	.deb-regions__tabs { margin: 0; padding-inline: 16px; scrollbar-width: none; }
	.deb-regions__tabs button { font-size: 16px; }
	.deb-regions__scroll { position: absolute; z-index: 1; top: 6px; display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
	.deb-regions__scroll:disabled { visibility: hidden; }
	.deb-regions__scroll--prev { left: -8px; transform: rotate(180deg); }
	.deb-regions__scroll--next { right: -8px; }
	.deb-regions__scroll img { width: 25px; height: 25px; }
	.deb-regions__panel { padding-top: 30px; }
	.deb-regions__panel ul { columns: 1; }
	.deb-regions__panel li { margin-bottom: 15px; line-height: 16px; }
	.deb-regions__panel li:last-child { margin-bottom: 0; }
	.deb-regions__panel a { font-size: 18px; line-height: 16px; }
	.deb-footer__newsletter { margin-top: 50px; }
	.deb-footer__bottom { gap: 0; margin-top: 50px; }
	.deb-footer__logo { flex-basis: auto; }
	.deb-footer__logo .deb-logo { width: 87px; height: 87px; }
	.deb-footer .deb-footer__copyright { margin-top: 10px; font-size: 16px; line-height: 16px; }
	.deb-footer__social-mobile { margin-top: 50px; }
	.deb-footer__social-mobile .deb-social { flex-direction: column; gap: 10px; }
	.deb-footer__legal { margin-top: 50px; padding: 0 35px; }
	.deb-footer__links { flex-direction: row; align-items: center; gap: 0; font-size: 14px; line-height: 26px; text-align: center; }
	.deb-footer__links li { flex-basis: 100%; }
	.deb-footer__links li:first-child, .deb-footer__links li:nth-child(2) { flex-basis: auto; }
	.deb-footer__links li + li::before { content: none; }
	.deb-footer__links li:nth-child(2)::before { content: '|'; }
}

@media (prefers-reduced-motion: reduce) {
	.deb-footer__up, .deb-social__links a { transition: none; }
	.deb-footer__up:hover, .deb-footer__up:focus-visible, .deb-social__links a:hover, .deb-social__links a:focus-visible { transform: none; }
}
