/* перепись article__wrap стилей */
.article__wrap .h1, .article__wrap h2, .article__wrap .h2, .article__wrap h3, .article__wrap .h3, .article__wrap h4, .article__wrap .h4 {
	margin: auto;
}

.article__wrap p+p {
	margin: 0;
}

.article__wrap .x-small {
	font-family: 'RotonReg', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
}

.article__wrap h1 {
	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 40px;
	line-height: 124%;
}

.article__wrap h2 {
	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 36px;
	line-height: 124%;
	margin: 0;
}

.article__wrap h3 {
	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 26px;
	line-height: 120%;
	margin: 0;
}

.article__wrap h4 {
	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 120%;
	margin: 0;
}

.article__wrap p {
	font-family: 'RotonReg', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 145%;
}

.article__wrap .bold {
	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-weight: 400;
}

.article__wrap .small {
	font-family: 'RotonReg', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 145%;
}

.article__wrap .blue-text {
    color: #00178E;
}

.article__wrap .green-text {
    color: #00CE57;
}

.article__wrap .centered-text {
    text-align: center;
}

.article__wrap .article-section__note-text {
    font-family: 'RotonReg', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #444444;
}

.article__wrap .article-section__button-text {
	position: relative;

	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 26px;
	margin: 0;
	text-align: center;
	color: #FFFFFF;
}

@media (max-width: 767px) {
	.article__wrap h1 {
		font-family: 'RotonBol', Arial, Helvetica, sans-serif;
		font-style: normal;
		font-weight: 400;
		font-size: 30px;
		line-height: 124%;
	}

	.article__wrap h2 {
		font-family: 'RotonBol', Arial, Helvetica, sans-serif;
		font-style: normal;
		font-weight: 400;
		font-size: 26px;
		line-height: 124%;
	}

	.article__wrap h3 {
		font-family: 'RotonBol', Arial, Helvetica, sans-serif;
		font-style: normal;
		font-weight: 400;
		font-size: 24px;
		line-height: 120%;
	}

	.article__wrap h4 {
		font-family: 'RotonBol', Arial, Helvetica, sans-serif;
		font-style: normal;
		font-weight: 400;
		font-size: 20px;
		line-height: 120%;
	}
}

/* перепись article__wrap стилей конец */

.bold {
	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-weight: 400;
}

.small {
	font-family: 'RotonReg', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 145%;
}

.x-small {
	font-family: 'RotonReg', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
}

.blue-text {
    color: #00178E;
}

.green-text {
    color: #00CE57;
}

.centered-text {
    text-align: center;
}

.article-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	gap: 40px;
}

.article-section {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.article-section__heading {
    position: relative;
    width: 100%;
    height: 221px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 14px 24px;

    background: #EBFAF0;
    border-radius: 20px;
}

.article-section__heading-image {
    position: relative;
    width: 219px;
    height: auto;
    flex-shrink: 0;
    margin-right: 20px;
}

.article-section__note {
    position: relative;
    width: 100%;
    height: fit-content;

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 12px;

    background: #EBFAF0;
    border-radius: 20px;
}

.article-section__note--special {
    align-items: flex-start;
    padding-right: 260px;
    background: url(/static/f/med_article/569/img/special-note-image.svg) no-repeat;
    background-size: 172px auto;
    background-position: calc(100% - 58px) calc(100% + 31px);
    background-color: #EBFAF0;
}

.article-section__note-text {
    position: relative;
    width: fit-content;
    height: fit-content;

    font-family: 'RotonReg', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #444444;
}

.article-section__note-icon {
    position: relative;
    width: 53px;
    height: auto;
    flex-shrink: 0;
}

.article-section__buttons-wrapper {
    position: relative;
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.article-section__spoiler-button {
    position: relative;
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 7px 21px;
    gap: 10px;

    background: #EBFAF0;
    border: 3px solid #00CE57;
    border-radius: 30px;

    font-family: 'RotonBol', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;

    text-align: center;
    color: #00CE57;
	outline: none;
}

.article-section__spoiler-button:hover {
    color: rgb(0, 22, 137);
    border: 3px solid rgb(0, 22, 137);
}

.article-section__spoiler-icon {
    position: relative;
    flex-shrink: 0;
    color: #00CE57;
	transform: rotate(-90deg);
	transition: transform 0.15s ease-in-out;
}

.article-section__spoiler-button:hover .article-section__spoiler-icon {
	color: rgb(0, 22, 137);
}

.article-section__spoiler-icon--active {
	transform: rotate(0deg);
	transition: transform 0.15s ease-in-out;
}

.article-section__spoiler-button:hover .article-section__spoiler-button-icon {
    color: rgb(0, 22, 137);
}

.article-section__button {
	position: relative;
	width: fit-content;
	height: fit-content;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px 23px;

	background: #33CB66;
	border-radius: 30px;
	border: none;
	outline: none;
	transition: background 0.15s ease-in-out;
	text-decoration: none;
}

.article-section__button:hover {
	background: #001689;
	transition: background 0.15s ease-in-out;
}

.article-section__button-text {
	position: relative;

	font-family: 'RotonBol', Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 26px;
	margin: 0;
	text-align: center;
	color: #FFFFFF;
}

.article-section__questions {
    position: relative;
    width: 100%;
    height: fit-content;

    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.article-section__questions--active {
    display: grid;
}

.article-section__question-card {
    position: relative;
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;

    border: 1px solid #00178E;
    border-radius: 20px;
}

.article-section__question-row {
    position: relative;
    width: 100%;
    height: 100%;
    
    display: grid;
    grid-template-columns: 52px auto;
    border-bottom: 1px solid #00178E;
}

.article-section__question-row--title {
    flex-shrink: 0;
    min-height: 58px;
    height: auto;
}

.article-section__question-row:nth-last-child(1) {
    border: none;
}

.article-section__question-cell {
    position: relative;
    border-right: 1px solid #00178E;
    padding: 4px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.article-section__question-cell:nth-last-child(1) {
    border: none;
}

.article-section__question-cell--no-border {
    border: none;
}

.article-section__question-cell--centered {
    justify-content: center;
}

.article-section__question-number {
    position: relative;
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'RotonBol', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

    color: #FFFFFF;
    background: #00178E;
    border-radius: 99px;
}

.article-section__line {
    position: relative;
    width: 100%;
    height: 2px;
    background: #00CE57;
}

@media (max-width: 1279px) {
    .article-section__note--special {
        position: relative;
        padding-right: 185px;
        background-position: calc(100% - 25px) calc(100% + 31px);
    }
}

@media (max-width: 768px) {
    .article-section__heading {
        gap: 14px;
    }

    .article-section__heading-image {
        width: 209px;
        margin: 0;
    }

    .article-section__questions {
        gap: 14px;
    }
}

@media (max-width: 559px) {
    .article-section__questions {
        grid-template-columns: 1fr;
    }

    .article-section__heading {
        height: fit-content;
    }

    .article-section__heading-image {
        display: none;
    }

    .article-section__buttons-wrapper {
        flex-direction: column-reverse;
        gap: 14px;
    }

    .article-section__spoiler-button {
        width: 235px;
    }

    .article-section__button {
        width: 235px;
    }

    .article-section__note--special {
        padding: 20px;
        background: #EBFAF0;
    }
}

@media (max-width: 459px) {
    .article-section__note {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}