/* Focused mobile refinements for the Mūsų žodis Vantage child theme. */

.mz-mobile-menu-toggle,
.mz-mobile-submenu-toggle {
	display: none;
}

/* Keep the homepage subscription banner visually attached to the footer. */
body.home #pgc-1506-3-0 > .so-panel:last-child {
	margin-bottom: 0 !important;
}

body.home #main {
	padding-bottom: 20px !important;
}

@media screen and (max-width: 680px) {
	:root {
		--mz-mobile-gutter: 12px;
		--mz-mobile-nav-height: 56px;
	}

	body.responsive.smz-mobile-navigation-ready #page-wrapper {
		padding-top: var(--mz-mobile-nav-height);
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 10000;
		width: 100%;
		margin: 0;
		background: #176fb2;
		box-shadow: 0 2px 8px rgba(0, 28, 51, 0.2);
		filter: none;
	}

	body.admin-bar.responsive .main-navigation.smz-mobile-nav-enabled {
		top: 46px;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled > .full-container {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.mz-mobile-menu-toggle {
		display: flex;
		align-items: center;
		gap: 11px;
		width: 100%;
		height: var(--mz-mobile-nav-height);
		padding: 0 18px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: #fff;
		font-size: 15px;
		font-weight: 700;
		line-height: 1;
		text-align: left;
		text-shadow: none;
		cursor: pointer;
	}

	.mz-mobile-menu-toggle:hover,
	.mz-mobile-menu-toggle:focus {
		border: 0;
		background: rgba(255, 255, 255, 0.1);
		color: #fff;
		outline: 2px solid transparent;
	}

	.mz-mobile-menu-toggle:focus-visible {
		outline: 2px solid #fff;
		outline-offset: -4px;
	}

	.mz-mobile-menu-toggle__icon,
	.mz-mobile-menu-toggle__icon::before,
	.mz-mobile-menu-toggle__icon::after {
		display: block;
		width: 21px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 160ms ease, opacity 160ms ease;
	}

	.mz-mobile-menu-toggle__icon {
		position: relative;
	}

	.mz-mobile-menu-toggle__icon::before,
	.mz-mobile-menu-toggle__icon::after {
		position: absolute;
		left: 0;
		content: '';
	}

	.mz-mobile-menu-toggle__icon::before {
		top: -7px;
	}

	.mz-mobile-menu-toggle__icon::after {
		top: 7px;
	}

	.smz-mobile-nav-open .mz-mobile-menu-toggle__icon {
		background: transparent;
	}

	.smz-mobile-nav-open .mz-mobile-menu-toggle__icon::before {
		transform: translateY(7px) rotate(45deg);
	}

	.smz-mobile-nav-open .mz-mobile-menu-toggle__icon::after {
		transform: translateY(-7px) rotate(-45deg);
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled #search-icon,
	body.responsive .main-navigation.smz-mobile-nav-enabled .smz-mobile-menu-list {
		display: none;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled.smz-mobile-nav-open .smz-mobile-menu-list {
		display: block;
		max-height: calc(100vh - var(--mz-mobile-nav-height));
		overflow-y: auto;
		background: #125f99;
		box-shadow: 0 8px 18px rgba(0, 28, 51, 0.24);
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0 0 8px;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li {
		position: relative;
		float: none;
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li:first-child {
		border-top: 0;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li > a {
		padding: 14px 18px;
		background: transparent;
		color: #fff;
		font-size: 15px;
		line-height: 20px;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li > a:hover,
	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li > a:focus {
		background: rgba(255, 255, 255, 0.1);
		color: #fff !important;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li.menu-item-has-children > a {
		padding-right: 62px;
	}

	.mz-mobile-submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 48px;
		padding: 0;
		border: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.13);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: #fff;
		cursor: pointer;
	}

	.mz-mobile-submenu-toggle:hover,
	.mz-mobile-submenu-toggle:focus {
		border-top: 0;
		border-right: 0;
		border-bottom: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.13);
		background: rgba(255, 255, 255, 0.1);
		box-shadow: none;
		color: #fff;
	}

	.mz-mobile-submenu-toggle:focus-visible {
		outline: 2px solid #fff;
		outline-offset: -4px;
	}

	.mz-mobile-submenu-toggle span {
		display: block;
		width: 9px;
		height: 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transition: transform 160ms ease;
	}

	.smz-mobile-submenu-open > .mz-mobile-submenu-toggle span {
		transform: translateY(2px) rotate(225deg);
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li > ul.sub-menu {
		position: static;
		display: none !important;
		visibility: visible;
		float: none;
		box-sizing: border-box;
	width: 100% !important;
	margin: 0;
	padding: 3px 0;
	border: 0;
	border-left: 4px solid rgba(255, 255, 255, 0.28);
	background: #0d5284;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.12), inset 0 -1px rgba(0, 0, 0, 0.12);
	/* Override Vantage's hover-only dropdown fade. */
	visibility: visible !important;
	opacity: 1 !important;
	transition: none !important;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.menu > li.smz-mobile-submenu-open > ul.sub-menu {
		display: block !important;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.sub-menu > li {
		float: none;
		width: 100%;
		border: 0;
		background: transparent;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.sub-menu > li > a {
		box-sizing: border-box;
		width: 100%;
	padding: 11px 18px;
	background: transparent;
	color: rgba(255, 255, 255, 0.94) !important;
		font-size: 14px;
		line-height: 20px;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.sub-menu > li > a:hover,
	body.responsive .main-navigation.smz-mobile-nav-enabled ul.sub-menu > li > a:focus {
		background: rgba(255, 255, 255, 0.09);
		color: #fff !important;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled ul.sub-menu [class^='icon-'] {
		font-size: 0.9em;
		opacity: 0.72;
	}

	body.responsive .main-navigation.smz-mobile-nav-enabled [class^='icon-'] {
		color: rgba(255, 255, 255, 0.82);
	}

	body.responsive #masthead {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	body.responsive #masthead .hgroup {
		padding-top: 22px;
		padding-bottom: 22px;
	}

	body.home.responsive #main {
		padding-top: 16px !important;
	}

	body.responsive #pg-1506-0 {
		box-sizing: border-box;
		padding-right: var(--mz-mobile-gutter);
		padding-left: var(--mz-mobile-gutter);
	}

	body.responsive #pg-1506-0 > .panel-grid-cell {
		box-sizing: border-box;
		width: 100% !important;
		margin-bottom: 16px;
	}

	body.responsive #pg-1506-0 > .panel-grid-cell:last-child {
		margin-bottom: 0;
	}

	body.responsive #pg-1506-0 .widget_circleicon-widget.so-panel {
		margin-bottom: 0 !important;
	}

	body.responsive #pg-1506-0 .circle-icon-box {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	body.responsive #pg-1506-1 .wide-grey {
		box-sizing: border-box;
		width: 100%;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 0;
		padding-left: 0;
	}

	body.responsive #pg-1506-1 .so-panel {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* Keep the Skelbimai panel full-width; its content, not the outer row, owns the article-aligned gutter. */
	body.responsive .panel-widget-style-for-1506-1-0-0 {
		box-sizing: border-box;
		padding: 10px !important;
	}

	body.responsive .mz-ticker-container {
		border-radius: 0 !important;
	}

	body.single.responsive #main,
	body.page:not(.home).responsive #main {
		padding-top: 16px !important;
		padding-bottom: 20px !important;
	}

	body.single.responsive #primary,
	body.single.responsive #secondary,
	body.page:not(.home).responsive #primary,
	body.page:not(.home).responsive #secondary {
		box-sizing: border-box;
		width: 100% !important;
		padding-right: var(--mz-mobile-gutter);
		padding-left: var(--mz-mobile-gutter);
	}

	body.single.responsive #primary article.post,
	body.page:not(.home).responsive #primary article.post {
		padding: 10px;
		border-radius: 0;
	}

	body.single.responsive #primary article.post {
		margin-bottom: 16px;
	}

	body.page:not(.home).responsive #primary article.post {
		margin-bottom: 0;
	}

	body.single.responsive #primary .post-navigation {
		margin-top: 0;
		margin-bottom: 16px;
	}

	body.single.responsive #comments,
	body.page:not(.home).responsive #comments {
		box-sizing: border-box;
		width: 100%;
		padding: 0;
	}

	body.single.responsive #secondary,
	body.page:not(.home).responsive #secondary {
		margin-top: 24px;
	}

	body.single.responsive #secondary > .widget,
	body.page:not(.home).responsive #secondary > .widget {
		margin-bottom: 16px !important;
	}

	body.single.responsive #secondary > .widget:last-child,
	body.page:not(.home).responsive #secondary > .widget:last-child {
		margin-bottom: 0 !important;
	}

	body.responsive article.post ul ul {
		margin-left: 0;
	}

	body.responsive #colophon {
		margin-bottom: 0;
		padding: 16px 12px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
	}

	body.responsive #colophon #footer-widgets.full-container {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	body.responsive #colophon #footer-widgets > .widget {
		padding-right: 0;
		padding-left: 0;
	}

	body.responsive #pgc-1506-2-0,
	body.responsive #pgc-1506-2-1 {
		box-sizing: border-box;
		width: 100% !important;
		padding-right: var(--mz-mobile-gutter) !important;
		padding-left: var(--mz-mobile-gutter) !important;
	}

	body.responsive #pgc-1506-2-1 {
		margin-top: 24px;
	}

	body.responsive #pgc-1506-2-1 > .so-panel {
		margin-bottom: 16px !important;
	}

	body.responsive #pgc-1506-2-1 > .so-panel:last-child {
		margin-bottom: 0 !important;
	}

	body.responsive .widget_siteorigin-panels-postloop article.post {
		padding: 10px;
		margin-bottom: 0;
		border-radius: 0;
	}

	body.responsive .widget_siteorigin-panels-postloop article.post:not(:first-of-type) {
		border-top: 0 !important;
	}

	body.responsive .widget_siteorigin-panels-postloop article.post:last-of-type {
		margin-bottom: 16px;
	}

	body.responsive .widget_siteorigin-panels-postloop > .widget-title {
		box-sizing: border-box;
		width: 100%;
		padding: 10px;
		margin-bottom: 0;
	}

	body.responsive #panel-1506-2-0-0.widget_siteorigin-panels-postloop > .widget-title {
		border-top: 1px solid #a3b3b6;
		border-right: 1px solid #a3b3b6;
		border-bottom: 0;
		border-left: 1px solid #a3b3b6;
		border-radius: 0;
	}

	body.responsive .widget_siteorigin-panels-postloop .pagination {
		text-align: center;
	}

	body.responsive #panel-1506-2-0-0.widget_siteorigin-panels-postloop.so-panel {
		margin-bottom: 0 !important;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar.responsive .main-navigation.smz-mobile-nav-enabled {
		top: 46px;
	}
}
