/*
Theme Name: ArcHub
Theme URI: https://archub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.2.5
License: GNU General Public License
License URI: license.txt
Text Domain: archub
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus,
.screen-reader-text:focus-within {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
.screen-reader-text:focus-within {
	overflow: visible;
}
/*--------------------------------------------------------------
Spacing
--------------------------------------------------------------*/
.wp-block-button,
.wp-block-cover {
	margin-bottom: 32px;
}

/*--------------------------------------------------------------
Alignments
--------------------------------------------------------------*/

body:not(.has-sidebar) .alignfull {
	width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-inline-start: -50vw;
  margin-inline-end: -50vw;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

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

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	padding-left: 5px;
	padding-right: 5px;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
.wp-block-gallery {
	margin-bottom: 1em;
}
.blocks-gallery-caption {
	margin-top: 0;
}

/*--------------------------------------------------------------
Button
--------------------------------------------------------------*/
.wp-block-button__link {
	--wp-btn-border-radius: 1.5em;
	border-radius: var(--wp-btn-border-radius);
	line-height: 1.35em;
}

.wp-block-button.is-style-squared .wp-block-button__link {
	--wp-btn-border-radius: 0;
}

/*--------------------------------------------------------------
Cover
--------------------------------------------------------------*/
.wp-block-cover.has-background-dim {
	color: #fff;
}
.wp-block-cover.has-background-dim a {
	color: inherit;
}

.wp-block-group.has-background,
.has-background {
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
Blockquote
--------------------------------------------------------------*/
.wp-block-pullquote blockquote {
	border: none;
}

/*--------------------------------------------------------------
Readmore
--------------------------------------------------------------*/
.entry-summary .more-link:after{
	content: "\02192";
    display: inline-block;
    margin-left: 0.5em;
}

/*--------------------------------------------------------------
Мобильное меню: не выходит слишком влево
--------------------------------------------------------------*/
@media screen and (max-width: 992px) {
	[data-mobile-nav-style=modern] .lqd-mobile-sec:before {
		width: 70vw !important;
		left: 0;
	}
	.mobile-nav-activated [data-mobile-nav-style=modern] .lqd-mobile-sec:before {
		transform: translate3d(30vw, 0, 0) !important;
	}
	.mobile-nav-activated [data-mobile-nav-style=modern] #lqd-site-content,
	.mobile-nav-activated [data-mobile-nav-style=modern] .lqd-mobile-sec-inner,
	.mobile-nav-activated [data-mobile-nav-style=modern] .main-footer,
	.mobile-nav-activated [data-mobile-nav-style=modern] .main-header > .elementor > .elementor-section,
	.mobile-nav-activated [data-mobile-nav-style=modern] .titlebar-inner {
		transform: translate3d(-70vw, 0, 0) !important;
	}
	[data-mobile-nav-style=modern] .lqd-mobile-sec .navbar-collapse {
		width: 70vw !important;
	}
	[data-mobile-nav-style=modern] .lqd-mobile-sec .navbar-collapse-inner,
	[data-mobile-nav-style=modern] .lqd-mobile-sec ul.main-nav.lqd-mobile-main-nav {
		padding-inline-start: 50px !important;
	}
	/* Убрать случайный клик по пустой области (модули без контента) */
	.lqd-mobile-sec .lqd-mobile-modules-container.empty {
		pointer-events: none !important;
	}
	/* Логотип в мобильном хедере: слева; меню справа (через order, DOM не меняем) */
	.lqd-mobile-sec .navbar-header .navbar-brand {
		order: -1 !important;
		justify-content: flex-start !important;
		align-items: center !important;
		margin-inline-start: -16px !important;
		margin-inline-end: auto !important;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
	}
	.lqd-mobile-sec .navbar-header .lqd-mobile-modules-container {
		order: 0 !important;
	}
	.lqd-mobile-sec .navbar-header .navbar-brand img {
		height: 50px !important;
		width: auto !important;
		max-height: 100% !important;
		object-fit: contain !important;
		display: block !important;
	}
	/* Увеличить высоту верхнего затемнённого блока (мобильный хедер) */
	.lqd-mobile-sec .navbar-header {
		min-height: 64px !important;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
	}
	/* Увеличить кнопку вывода меню (гамбургер), меню справа */
	.lqd-mobile-sec .navbar-header .nav-trigger {
		order: 1 !important;
		margin-inline-start: auto !important;
		min-width: 52px !important;
		min-height: 52px !important;
		padding: 14px !important;
	}
	.lqd-mobile-sec .navbar-header .nav-trigger .bars {
		width: 32px !important;
		height: 24px !important;
	}
	.lqd-mobile-sec .navbar-header .nav-trigger .bar {
		width: 28px !important;
		height: 2.5px !important;
	}
}