/*   
Theme Name: NameTheme
Theme URI:
Description:
Author: Filipp Romanov
Author URI: 
*/

.body__gradient  {
    background: var(--gradient-bg);
}

.checkbox .checkbox__label a {
	text-decoration: underline;
}

.footer__text {
	text-align: right;
}

@media (max-width: 767px) {
	.footer__text {
		text-align: center;
	}
}

.consultation__lead a  {
	font-weight: bolder;
	border-bottom: 1px dashed var(--c-primary);
}

.consultation__small {
	margin-top: 1rem;
	font-size: 1.1rem;
	line-height: 110%;
}

.footer__text .intro__notice {
	font-size: 1.2rem;
	line-height: 120%;
	margin-top: .4rem;
}

.info__image._mobile {
	display: none;
}

@media(max-width: 992px) {
	.info__image {
		display: none;
	}

	.info__image._mobile {
		display: block;
		margin-bottom: 2rem;
	}
}

.news-single__title {
    margin-bottom: 4rem;
    line-height: normal;
}

.news-single__block {
    padding:  6rem 6rem 4rem 5.9rem;
    background: #fff;
    border-radius: 6rem;
    margin: 3.5rem 0;
}

.news-single__text {
    --m-bottom: 2.5rem;
}
.news-single__text *:not(h1, h2, h3, h4, h5, h6) {
    font-size: var(--fz-regular);
}
.news-single__text > * {
    margin-bottom: var(--m-bottom);
}
.news-single__text > *:last-child {
    margin-bottom: 0;
}
.news-single__text * {
    color: var(--fg-gray);
}
.news-single__text ol li, .news-single__text ul li {
    margin-bottom: var(--m-bottom);
}
.news-single__text ol li:last-child, .news-single__text ul li:last-child {
    margin-bottom: 0;
}
.news-single__text ul {
    padding-left: 1.8rem;
}
.news-single__text ul li {
    list-style: disc;
}
.news-single__text img {
    border-radius: 2rem;
}
.news-single__text p:has(img) {
    margin: 4rem 0;
}
.news-single__text h2, .news-single__text h3, .news-single__text h4, .news-single__text h5, .news-single__text h6 {
    margin: 4rem 0 3rem;
    line-height: normal;
}

.news__back {
    margin-top: 4rem;
}

.news-single__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.news-single__author {
    display: flex;
    align-items: center;
}

.news-single__author-image {
    max-width: 10rem;
}

.news-single__author-content {
    padding-left: 2rem;
}

.news-single__author-post {
    margin-top: 1rem;
}

.news-single__author-post span {
    display: inline-block;
    padding: .2rem 1rem;
    border-radius: 2rem;
    background: var(--c-primary);
    color: #fff;
    font-weight: 700;
}

.news-single__panel-item {
    margin-bottom: .5rem;
}

.news-single__date--now {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 2rem;
    background: var(--c-primary);
    color: #fff;
    font-weight: 700;
}

.news-single__panel-item:last-child {
    margin-bottom: 0;
}

.news-single__view {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.news-single__view .post-views {
    display: flex;
    align-items: center;
}

.news-single__view  .post-views-count {
    margin-left: .5rem !important;
}

.news-single__panel-item--last {
    display: flex;
    align-items: center;
}

.news-single__panel-item .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2rem;
}

.news-single__content {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2rem;
    align-items: flex-start;
}

.news-single__toc {
    padding: 2rem;
    background: #F6F8FA;
    border-radius: 2rem;
}

.news-single__toc-title {
    margin-bottom: 1.5rem;
}

.news-single__toc ol {
    counter-reset: item;
    list-style: none;
}

.news-single__toc li {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.news-single__toc ol ol {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.news-single__toc li:before {
    content: counters(item, ".") ". ";
    counter-increment: item;
}

.news-single__toc li:last-child {
    margin-bottom: 0;
}

.news-single__time {
    display: flex;
    align-items: center;
}

.news-single__time span:last-child {
    margin-left: .5rem;
}

.field select {
    margin: 0;
    width: 100%;
    height: 6.7rem;
    outline: none;
    box-shadow: none;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2.1rem;
    padding: 2.2rem 4.8rem;
    background: white;
    border-radius: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid white;
    color: rgba(43, 43, 43, 0.7);
}

input._error, select._error {
    border-color: red !important;
}

.form__message {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    background: green;
    margin-top: 2rem;
    display: none;
    text-align: center;
    color: #fff;
}

@media (max-width: 600px) {
    .field select {
        height: 4.5rem;
        font-size: 1.2rem;
        line-height: 1.9rem;
        padding: 1rem 3.4rem;
    }


    .news-single__block {
        padding: 2rem;
        border-radius: 3.5rem;
    }

    .news-single__content {
        grid-template-columns: 1fr;
    }

    .news-single__panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-single__panel-right {
        width: 100%;
        margin-top: 2rem;
    }

    .news-single__toc li {
        font-size: 1.2rem;
    }

    .news-single__text {
        grid-area: 2;
    }

    .news-single__toc {
        grid-area: 1;
    }
}