article header p.article-updated {
    margin-top: 17px;
    font-size: 14px;
    line-height: 18px;
    color: var(--color-text-regular);
}

.article-note {
    margin: 24px 0 0 0;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-text-gray)
}

article figure.definition {
    background: #E9ECEF;
    border-left: 4px solid var(--color-background-violet);
    border-radius: 0px 8px 8px 0px;
    padding: 26px 112px 20px 24px;
    margin: 40px 0;
}

article figure.definition h3 {
    margin: 0 0 18px 0;
}

article figure.definition h2 {
    font-size: 21px;
    margin: 0 0 29px 0;
    color: var(--color-background-violet);
    font-weight: 600;
    text-transform: uppercase;
}

article figure.definition p {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--color-text-regular);
    padding: 0;
    margin: 0;
}

article h2,
article h3,
article h4,
article h5,
article h6
{
    margin: 40px 0 24px 0;
}

article ol {
    padding-left: 32px;
    margin: 0;
}

/* promo */

.promo-box {
    border-radius: 8px;
    margin: 40px 0 60px 0;
}

.promo-card {
    background: var(--color-background-gray);
    border-radius: 8px;
}

.promo-card img {
    width: 100%;
}

.promo-card__content {
    padding: 32px 32px 40px 32px;
}

.promo-card__title {
    margin: 7px 0 27px 0;
    font-size: 21px;
    font-weight: 600;
    color: var(--color-text-regular);
}

.promo-card__subtitle {
    margin: 0 0 24px 0;
}

.promo-card__text {
    font-size: 20px;
    color: var(--color-text-regular);
    line-height: 30px;
}

.promo-card__button {
    margin-top: 40px;
    display: inline-block;
    background: var(--color-background-violet) calc(100% - 15px) 16px url(icons/button_arrowRight.svg) no-repeat;
    color: var(--color-text-white);
    border-radius: 8px;
    padding: 10px 40px 10px 23px;
    font-weight: 500;
    line-height: 24px;
    border: none;
    text-decoration: none;
    font-size: 18px;
}

.promo-card__button:hover {
    background-color: var(--color-state-hover);
    border-color: var(--color-state-hover);
    color: var(--color-text-white);
}

.promo-card__button:active {
    background-color: var(--color-state-active);
    border-color: var(--color-state-active);
    color: var(--color-text-white);
}

/* custom buttons */

article div.buttons {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 60px 0;
}

article div.buttons button {
    width: 29%;
}

/* table */

article td {
    padding: 16px;
    border-right: 1px solid var(--color-stroke-gray);
    font-size: 20px;
    line-height: 30px;
    min-width: 243px;
}

article tr td:last-of-type {
    border: 0
}

article table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

article div:has(> table) {
  overflow-x: auto;
  margin-top: 40px;
  margin-bottom: 60px;
}

article tr:nth-child(odd) {
    background-color: var(--color-background-gray);
}

article tr:nth-child(even) {
    background-color: var(--color-background-white);
}

/* accrodeon */
.accordeon {
    margin-bottom: -16px;
}

.accordeon summary {
    padding: 16px 20px;
    background: var(--color-background-gray);
    border-radius: 8px;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    list-style: none;
    position: relative;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}

.accordeon summary::after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 0px;
    width: 64px;
    height: 100%;
    background: center center url(icons/accordeon_arrow.svg) no-repeat;
}

.accordeon details[open] summary::after {
    transform: rotate(-180deg);
}

.accordeon summary:focus {
    outline: 1px solid var(--color-background-violet);
}

.accordeon summary:active,
.accordeon summary:hover {
    opacity: 0.64;
}

.accordeon .accordeon_contents {
    padding: 0px 20px 32px 18px;
}

.accordeon li {
    margin-bottom: 30px
}

.accordeon ul li:last-of-type {
    margin-bottom: 0;
}


/* rating */

.ratingResults {
    display: flex;
}

.ratingBox {
    flex: 1;
}

.ratingResults .result {
    color: var(--color-text-pink);
    font-size: 32px;
    font-weight: 600;
    line-height: 30px;
    padding: 3px 40px;
}

.ratingBox {
    background: url(icons/stars.svg) no-repeat;
    position: relative
}

.resultBox {
    background: url(icons/stars_selected.svg) no-repeat;
    height: 100%;
    display: block;
    position: absolute
}

.rated-05 .resultBox {
    width: 12px;
}

.rated-10 .resultBox {
    width: 24px;
}

.rated-15 .resultBox {
    width: 44px;
}

.rated-20 .resultBox {
    width: 60px;
}

.rated-25 .resultBox {
    width: 76px;
}

.rated-30 .resultBox {
    width: 92px;
}

.rated-35 .resultBox {
    width: 108px;
}

.rated-40 .resultBox {
    width: 124px;
}

.rated-45 .resultBox {
    width: 140px;
}

.rated-50 .resultBox {
    width: 100%;
}

form.rating {
    margin-top: 24px;
}

form.rating fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

form.rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

form.rating label {
    width: 12px;
    height: 38px;
    background: -12px 0px url(icons/stars.svg) no-repeat;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 8px;
}

form.rating label:nth-child(2n) {
    background: url(icons/stars.svg) no-repeat;
    margin-right: 0px;
}

form.rating label.checked {
    background-image: url(icons/stars_selected.svg);
}


/* table of contents */
.toc {
    border-left: 4px solid var(--color-background-gray);
    width: 278px;
    margin-top: 22px;
}

.toc li {
    margin-bottom: -1px;
}

.toc a {
    padding: 14px 12px 11px 12px;
    text-decoration: none;
    color: var(--color-text-regular);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    display: block;
}

.toc a:hover {
    opacity: 0.8;
}

.toc .active a,
.toc a:hover {
    border-left: 4px solid var(--color-background-violet);
    margin-left: -4px;
    color: var(--color-background-violet);
}

.toc ul{
    list-style: none;
    padding-left: 0;
}

.mobileMenu{
    display: none;
}