/*
Theme Name: Реальт
Author: Slava Khripushin
Author URI: https://t.me/slav4x
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.fancybox__container {
	--fancybox-zIndex: 10000;
}

.blog-single__text ul {
  list-style: disc;
  padding-left: 17px;
}

.blog-single__text ul li {
  margin-top: 5px;
}
.blog-single__text ul li:first-child {
  margin-top: 0;
}

.menu-item-type-post_type:nth-child(4) .dropdown,
.menu-item-type-post_type:nth-child(6) .dropdown {
  height: 50vh;
}

a {
  cursor: pointer;
}

.spread-text::before,
.spread-text::after {
  display: none !important;
}

.spread-text {
  opacity: 0.7;
  font-size: 0.9em;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
}
.spread-text p {
  margin: 0 !important;
}

.legal-section ul li > ul {
  margin-top: 16px;
  list-style: circle;
}

.footer-ya {
  margin: 30px 0 -60px;
}

@media (max-width: 1024px) {
  .footer-ya {
    margin: 30px 0 0;
  }
}

.hero h1 {
	font-size: 56px;
}

@media (max-width: 1760px) {
	.hero h1 {
		font-size: 48px;
	}
}

@media (max-width: 1280px) {
	.hero h1 {
		font-size: 40px;
	}
}

@media (max-width: 1023px) {
	.hero h1 {
		font-size: 36px;
	}
}

/* @media (max-width: 768px) {
	.hero {
		padding-top: 110px;
	}
} */

@media (max-width: 576px) {
	.hero h1 {
		font-size: 28px;
	}
	.hero h2 {
		margin-left: -5px;
		margin-right: -5px;
	}
}

.template-text__text ul,
.template-text-2__content ul,
.template-text-3__content ul {
    list-style-type: disc
}

.template-text__text ol,
.template-text__text ul,
.template-text-2__content ol,
.template-text-2__content ul,
.template-text-3__content ol,
.template-text-3__content ul {
    margin: 0;
    padding: 0 0 0 20px
}

.template-text__text ol li,
.template-text__text ul li,
.template-text-2__content ol li,
.template-text-2__content ul li,
.template-text-3__content ol li,
.template-text-3__content ul li {
    margin-top: 8px
}

.template-section__grid {
	grid-template-columns: repeat(var(--columns), 1fr);
}
@media (max-width: 1023px) {
    .template-section__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.hero-message {
		position: relative;
		width: 100%;
		background-color: var(--color-green);
		color: #fff;
		padding: 12px 0;
		font-size: 14px;
		line-height: 20px;
		z-index: 10;
		display: block;
		cursor: pointer;
		margin-top: 101px;
	}
	.hero-message .container {
		align-items: flex-start;
	}
	.hero-message p {
		max-width: calc(100% - 24px);
	}
	.hero-message-close {
		position: absolute;
		z-index: 12;
		top: 12px;
		right: 12px;
		font-size: 18px;
		cursor: pointer;
		color: #000;
		background: #fff;
		border: none;
		border-radius: 100%;
		width: 20px;
		height: 20px;
		display: block;
		padding: 0;
	}

.hero-message + .hero {
	margin-top: 0;
}
@media (max-width: 1760px) {
	.hero-message {
		margin-top: 77px;
	}
}