

/* Start:/local/templates/msi/components/bitrix/news.detail/hero/style.css?1787137126827*/
.hero {
    padding: 2rem 0 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

.hero__content {
    max-width: 32.625rem;
    margin-left: var(--page-content-offset);
    font-family: var(--font-body);
}

.hero__title,
.hero__content h1 {
    
    margin: 6.1875rem 0 0;
    font-family: var(--font-display);
    font-size: 4.875rem;
}

.hero__content .hero__title--long {
    font-size: clamp(2.75rem, 5.1vw, 3.25rem);
    line-height: 1.05;
}

.hero__title-accent {
    color: var(--color-marked);
}

.hero__image {
    min-width: 0;
    align-self: start;
}

.hero__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* End */


/* Start:/local/templates/msi/components/bitrix/news.list/msi_numbers/style.css?1787130216661*/
.msi-numbers{
    max-width: var(--page-max-width);
    align-items: center;
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

.numbers__title {
    padding-inline: var(--page-content-offset);
}

.numbers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.numbers__item {
    border: 1px solid #1b3550;
    padding-inline: 1rem;
    padding: 2rem 1.5rem;
}
.msi-numbers .numbers--title:first-child span {
   color: var(--color-accent);
	font-size: var(--font-size-h3);
    font-family: var(--font-display);
}
.msi-numbers .numbers--title:first-child .numbers--text {
color: var(--color-marked);
}

/* End */


/* Start:/local/templates/msi/components/bitrix/catalog.section.list/courses/style.css?17889473108479*/
.courses {
    padding: 1.5rem 0 2rem;
}

.courses__inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

.courses__title {
    margin-left: var(--page-content-offset);
}

.courses__layout {
    display: grid;
    grid-template-columns: 23rem minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.courses__aside {
    min-width: 0;
}

.courses__aside-image {
    display: block;
    width: 23.875rem;
    max-width: 100%;
    height: auto;
    border: 1px solid #000;
}

.courses__list {
    display: grid;
    min-width: 0;
    gap: 0;
}

.courses__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14.4rem;
    column-gap: 4rem;
    align-items: center;
    padding: 0.6rem 0;
    border-top: 2px solid #0d2237;
}

/*
 * Зеркальное расположение первой строки:
 * сначала текст, затем изображение.
 */
.courses__item .courses__content {
    order: 1;
}

.courses__item .courses__media {
    order: 2;
}

/*
 * Во второй строке и далее через одну:
 * сначала изображение, затем текст.
 */
.courses__item--reverse {
    grid-template-columns: 17rem minmax(0, 1fr);
}

.courses__item--reverse .courses__media {
    order: 1;
}

.courses__item--reverse .courses__content {
    order: 2;
}

.courses__item:last-child {
    border-bottom: 2px solid #0d2237;
}

.courses__media,
.courses__content {
    min-width: 0;
}

.courses__image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #000;
}

.courses__heading {
    margin: 0 0 0.5rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.05;
    color: var(--color-text);
    font-weight: 700;
    text-transform: uppercase;
}

.courses__text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
}

.courses__text > :first-child {
    margin-top: 0;
}

.courses__text > :last-child {
    margin-bottom: 0;
}

.courses-mosaic {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 1.5rem;
    border-top: var(--border-1);
    border-left: var(--border-1);
}

.courses-mosaic__media,
.courses-mosaic__card {
    min-width: 0;
    border-right: var(--border-1);
    border-bottom: var(--border-1);
}

.courses-mosaic__media {
    position: relative;
    min-height: 20rem;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-info) 12%, var(--color-page));
}

.courses-mosaic__media--primary {
    grid-column: span 3;
    min-height: 34rem;
}

.courses-mosaic__image,
.courses-mosaic__placeholder,
.courses-mosaic__include-image,
.courses-mosaic__include-image > * {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.courses-mosaic__image {
    object-fit: cover;
}

.courses-mosaic__include-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courses-mosaic__placeholder {
    background:
        linear-gradient(135deg, transparent 0 48%, color-mix(in srgb, var(--color-info) 24%, transparent) 48% 52%, transparent 52%),
        color-mix(in srgb, var(--color-info) 10%, var(--color-page));
}

.courses-mosaic__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 20rem;
    padding: clamp(1.5rem, 2.4vw, 2.75rem) clamp(1.25rem, 2vw, 2.25rem);
    color: inherit;
    text-decoration: none;
}

.courses-mosaic__title {
    margin: 0 0 1.5rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 1.45vw, 1.75rem);
    font-weight: 500;
    line-height: 1.08;
    text-transform: uppercase;
}

.courses-mosaic__text {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.15vw, 1.375rem);
    line-height: 1.35;
}

.courses-mosaic__text > :first-child {
    margin-top: 0;
}

.courses-mosaic__text > :last-child {
    margin-bottom: 0;
}

/* Десктоп: пропорции строк и ширина соответствуют макету мозаики. */
@media screen and (min-width: 1101px) {
    .courses-mosaic {
        grid-template-rows:
            clamp(22rem, 26.9vw, 36rem)
            clamp(14rem, 15.6vw, 21rem);
        width: auto;
        margin-inline: calc(0 * var(--layout-gutter));
    }

    .courses-mosaic__media,
    .courses-mosaic__media--primary,
    .courses-mosaic__card {
        min-height: 0;
    }

    .courses-mosaic__card {
        overflow: hidden;
        padding: clamp(1.25rem, 1.9vw, 2.5rem);
    }

    .courses-mosaic > .courses-mosaic__card:nth-child(-n + 4) {
        justify-content: flex-end;
    }

    .courses-mosaic__title {
        margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
        font-size: 0.875rem;
        font-weight: 700;
    }

    .courses-mosaic__text {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.75rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
    }
}

@media screen and (max-width: 1100px) {
    .courses__layout {
        grid-template-columns: 18rem minmax(0, 1fr);
        gap: 2rem;
    }

    .courses__aside-image {
        width: 100%;
    }

    .courses__item {
        grid-template-columns: minmax(0, 1fr) 12rem;
        column-gap: 2rem;
    }

    .courses__item--reverse {
        grid-template-columns: 12rem minmax(0, 1fr);
    }

    .courses-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .courses-mosaic__media--primary {
        grid-column: span 3;
        min-height: 28rem;
    }
}

@media screen and (max-width: 767px) {
    .courses__title {
        margin-left: 0;
    }

    .courses__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .courses__aside {
        order: 2;
    }

    .courses__list {
        order: 1;
    }

    .courses__aside-image {
        width: 100%;
    }

    .courses__item,
    .courses__item--reverse {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .courses__item .courses__media,
    .courses__item .courses__content,
    .courses__item--reverse .courses__media,
    .courses__item--reverse .courses__content {
        order: initial;
    }

    .courses__media {
        order: 1 !important;
    }

    .courses__content {
        order: 2 !important;
    }

    .courses__image {
        width: 100%;
    }

    .courses-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 1.5rem;
    }

    .courses-mosaic__media--primary {
        grid-column: span 2;
    }

    .courses-mosaic__media--primary {
        min-height: 18rem;
    }

    .courses-mosaic__media:not(.courses-mosaic__media--primary) {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

    .courses-mosaic__card {
        aspect-ratio: 1 / 1;
        min-height: 0;
        padding: 1rem 0.75rem;
        overflow: hidden;
    }

    .courses-mosaic__title,
    .courses-mosaic__text {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }

    .courses-mosaic__title {
        margin-bottom: 0.75rem;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.15;
    }

    .courses-mosaic__text {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.8rem;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }
}
.courses-mosaic__card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.courses-mosaic__card:hover {
    transform: translateY(-.8rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
}
.courses-mosaic__card {
    position: relative;
    overflow: hidden;
    z-index: 0;
    color: var(--color-text);
    background: transparent;

}

.courses-mosaic__title,
.courses-mosaic__text {
    transition: color .3s ease;
}



.courses-mosaic__card:hover {
    background: var(--advantages-hover-bg);
    color: var(--advantages-hover-text);
}

.courses-mosaic__card:hover .courses-mosaic__title,
.courses-mosaic__card:hover .courses-mosaic__text {
    color: var(--advantages-hover-text);
}

.courses-mosaic__card:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.courses-mosaic {
    overflow: hidden;
}
.courses-mosaic__image {
    position: relative;
    z-index: 1;
}

/* End */


/* Start:/local/templates/msi/components/bitrix/news.list/advantages/style.css?17871302355359*/
.advantages__inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

.advantages__title {
    margin-left: var(--page-content-offset);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.advantages__card {
    position: relative;
    min-height: 16.5rem;
    padding: 2rem 1rem 2rem 2rem;
    border: var(--advantages-border-width) solid var(--advantages-border);
    background: transparent;
    color: inherit;
    cursor: default;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.advantages__card--linked {
    cursor: pointer;
}

/* первая строка */
.advantages__card:nth-child(-n + 2) {
    padding: 4rem 1rem 2rem 2rem;
}

/* последняя строка */
.advantages__card:nth-last-child(-n + 2) {
    padding: 2rem 1rem 4rem 2rem;
}

/* первый и последний блок со скошенными углами */
.advantages__card:first-child,
.advantages__card:last-child {
    border: none;
    background: var(--advantages-border);
}

/* внутренняя заливка для скошенных карточек */
.advantages__card:first-child::before,
.advantages__card:last-child::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: var(--advantages-border-width);
    background: var(--color-page);
    pointer-events: none;
    transition: background-color 0.25s ease;
}

/* текст поверх псевдоэлементов */
.advantages__card > * {
    position: relative;
    z-index: 1;
}

/* 1 карточка — скос сверху слева */
.advantages__card:first-child {
    clip-path: polygon(
            var(--advantages-cut) 0,
            100% 0,
            100% 100%,
            0 100%,
            0 var(--advantages-cut)
    );
}

.advantages__card:first-child::before {
    clip-path: polygon(
            calc(var(--advantages-cut) - var(--advantages-border-width)) 0,
            100% 0,
            100% 100%,
            0 100%,
            0 calc(var(--advantages-cut) - var(--advantages-border-width))
    );
}

/* последняя карточка — скос снизу справа */
.advantages__card:last-child {
    clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - var(--advantages-cut)),
            calc(100% - var(--advantages-cut)) 100%,
            0 100%
    );
}

/* одна карточка получает оба среза, как в блоке преимуществ курса */
.advantages__card:only-child {
    clip-path: polygon(
            var(--advantages-cut) 0,
            100% 0,
            100% calc(100% - var(--advantages-cut)),
            calc(100% - var(--advantages-cut)) 100%,
            0 100%,
            0 var(--advantages-cut)
    );
}

.advantages__card:last-child::before {
    clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - var(--advantages-cut) + var(--advantages-border-width)),
            calc(100% - var(--advantages-cut) + var(--advantages-border-width)) 100%,
            0 100%
    );
}

.advantages__card:only-child::before {
    clip-path: polygon(
            calc(var(--advantages-cut) - var(--advantages-border-width)) 0,
            100% 0,
            100% calc(100% - var(--advantages-cut) + var(--advantages-border-width)),
            calc(100% - var(--advantages-cut) + var(--advantages-border-width)) 100%,
            0 100%,
            0 calc(var(--advantages-cut) - var(--advantages-border-width))
    );
}

.advantages__heading {
    position: relative;
    margin: 0 0 1rem;
    padding-right: 3rem;
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--color-accent);
    text-transform: uppercase;
    transition: color 0.25s ease;
}

/* стрелка */
.advantages__card--linked .advantages__heading::after {
    content: "↗";
    position: absolute;
    top: 0;
    right: 1.75rem;
    color: var(--advantages-accent);
    font-size: 1.35rem;
    line-height: 1;
    z-index: 4;
    pointer-events: none;
    transition: color 0.25s ease, transform 0.2s ease;
}

.advantages__text {
    margin: 0;
    max-width: 28rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.15;
    color: var(--color-text);
    transition: color 0.25s ease;
}

/* hover обычных карточек */
.advantages__card--linked:not(:first-child):not(:last-child):hover {
    background-color: var(--advantages-hover-bg);
}

/* hover скошенных карточек */
.advantages__card--linked:first-child:hover::before,
.advantages__card--linked:last-child:hover::before {
    background-color: var(--advantages-hover-bg);
}

/* hover текста */
.advantages__card--linked:hover .advantages__heading,
.advantages__card--linked:hover .advantages__text {
    color: var(--advantages-hover-text);
}

/* hover стрелки */
.advantages__card--linked:hover .advantages__heading::after {
    color: var(--advantages-hover-text);
    transform: translate(3px, -3px);
}

.advantages__card--linked:focus-visible {
    outline: 3px solid var(--color-marked);
    outline-offset: 3px;
}

@media (max-width: 52rem) {
    .advantages__title {
        margin-left: 0;
    }
}

/* End */


/* Start:/local/templates/msi/components/bitrix/news.list/work_scheme/style.css?17872348593636*/
.work-scheme {
    padding: 1.5rem 0 0;
}

.work-scheme__inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding-inline: var(--layout-gutter);
}

.work-scheme__layout {
    display: grid;
    grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
    align-items: stretch;
    min-height: 44rem;
}

.work-scheme__intro {
    padding: 9.6rem 0 4rem;
    border-right: 2px solid #0d2237;
}

.work-scheme__title {
    margin: 0 0 3rem;
    font-family: var(--font-display);
    font-size: 2.75rem;
    line-height: 1;
    color: var(--color-title);
}

.work-scheme__description {
    max-width: 20rem;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.2;
    color: var(--color-text);
}

.work-scheme__steps {
    align-self: start;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    padding: 3rem 0 2rem 6rem;
}

.work-scheme__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.work-scheme__step h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: black;
    text-transform: uppercase;
    font-weight: bold;
}


.work-scheme__steps::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #0d2237;
}

/* Десктопная композиция внутри общего контейнера главной страницы. */
@media (min-width: 68.0625rem) {
    .work-scheme {
        padding: 1.5rem 0 0;
    }

    .work-scheme__inner {
        width: 100%;
        max-width: var(--page-max-width);
        margin-inline: auto;
        padding-inline: var(--layout-gutter);
    }

    .work-scheme__layout,
    .work-scheme__layout.content-offset {
        grid-template-columns: 42.5% 57.5%;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
        aspect-ratio: 1.6 / 1;
    }

    .work-scheme__intro {
        padding: clamp(135px, 11.5vw, 180px) 2rem 4rem 0;
        border-right: 2px solid #0d2237;
    }

    .work-scheme__title {
        margin: 0 0 3rem var(--page-content-offset);
        font-size: 2.75rem;
        line-height: 1;
    }

    .work-scheme__description {
        max-width: 15.5rem;
        margin-left: var(--page-content-offset);
        font-size: 1rem;
        line-height: 1.18;
    }

    .work-scheme__steps {
        align-self: start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 2rem 3rem;
        width: 100%;
        height: 85%;
        min-height: 28rem;
        padding: 3.9rem 3.25rem 3rem;
    }

    .work-scheme__step {
        justify-content: flex-start;
        min-width: 0;
    }

    .work-scheme__icon {
        width: 5.25rem;
        height: 5.25rem;
        flex: 0 0 5.25rem;
    }

    .work-scheme__image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .work-scheme__heading {
        max-width: 11rem;
        margin-top: 0.8rem;
        font-family: var(--font-body);
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.15;
        text-transform: uppercase;
    }

    .work-scheme__text {
        max-width: 11rem;
        margin: 0.35rem 0 0;
        font-size: 0.7rem;
        line-height: 1.18;
    }

    .work-scheme__steps::after {
        height: 2px;
    }
}

@media (max-width: 52rem) {
    .work-scheme__title {
        margin-left: 0;
    }
}

/* End */


/* Start:/local/templates/msi/components/bitrix/news.detail/certificates/style.css?17871303041201*/
.certificates {
	padding: 0 0 2rem;
}

.certificates__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 3.75rem auto;
	align-items: stretch;
	max-width: var(--page-max-width);
	margin: 0 auto;
	padding-inline: var(--layout-gutter);
	background: var(--color-page);
	border-bottom: var(--border-2);
}

.certificates__heading {
	display: flex;
	padding-left: var(--page-content-offset);
	border-right: var(--border-2);
	border-bottom: var(--border-2);
}

.certificates__title {
	margin: 0;
	align-items: flex-start;
	font-family: var(--font-display);
	font-size: var(--font-size-h2);
	line-height: 1;
	color: var(--color-title);
	text-transform: uppercase;
}

.certificates__topline {
	border-bottom: var(--border-2);
}

.certificates__content {
	border-right: var(--border-2);
}

.certificates__copy {
	padding: 1.55rem 2.5rem 1.8rem 0;
	font-family: var(--font-body);
	font-size: 1.18rem;
	line-height: 1.08;
	color: var(--color-title);
}

.certificates__copy p {
	margin: 0 0 1.35rem;
}

.certificates__copy h3 {
	margin: 0 0 1.05rem;
	font-family: var(--font-body);
	font-size: 1.2rem;
	line-height: 1.1;
	font-weight: 700;
	color: var(--color-title);
}

/* End */


/* Start:/local/templates/msi/components/bitrix/news.list/reviews/style.css?17871303838904*/
.reviews {
    padding: 0 0 2rem;
}

.reviews__inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
    background: #f4f7ef;
}

.reviews__head {
    display: flex;
    align-items: center;
    gap: 1rem;
   
    border-bottom: 2px solid #0d2237;
}

.reviews__title {

    font-family: var(--font-display);
    font-size: 2.75rem;
    line-height: 1;
    color: var(--color-title);
}

.reviews__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(28rem, 38rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 2rem;
    box-sizing: border-box;
    gap: 0;
    scroll-padding-inline: 2rem;
    border-bottom: 2px solid #0d2237;
}

.reviews__track::-webkit-scrollbar {
    display: none;
}

.reviews__card {
    scroll-snap-align: start;
    min-height: 22rem;
    padding: 1.5rem 1.25rem 1.75rem;
    border-right: 2px solid #0d2237;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.reviews__card:last-child {
    border-right: 0;
}

.reviews__text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.15;
    color: #233047;
}

.reviews__text p {
    margin: 0;
}

.reviews__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews__photo {
    width: 3.4rem;
    height: 3.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    flex: 0 0 auto;
    display: block;
    object-fit: cover;
    background-color: #d8d8d8;
}

.reviews__photo--placeholder {
    background:
        radial-gradient(circle at 50% 35%, #f0d2a5 0 24%, transparent 25%),
        linear-gradient(135deg, #cfc1ad 0 52%, #efefef 52% 100%);
}

.reviews__meta {
    min-width: 0;
}

.reviews__name {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.1;
    color: #233047;
}

.reviews__role {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.1;
    color: #0d2237;
    font-weight: 700;
}

.reviews__actions {
    display: flex;
    justify-content: flex-end;
    padding: 2rem 1rem 0;
}

.reviews__add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18.5rem;
    min-height: 4rem;
    padding: .75rem 1.5rem;
    border: 0;
    color: var(--color-white);
    background: var(--color-title);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
    transition: background-color .2s ease;
}

.reviews__add-button:hover,
.reviews__add-button:focus-visible {
    background: var(--color-marked);
}

.reviews__add-button:focus-visible {
    outline: 2px solid var(--color-marked);
    outline-offset: 3px;
}

.msi-request-popup--review {
    --msi-request-popup-max-width: 58rem;
    --msi-request-popup-backdrop: rgba(31, 44, 55, .58);
}

.review-modal__dialog {
    padding: 2rem 2.625rem 1.625rem;
    border-width: 2px;
    box-shadow: 0 1rem 3rem rgba(6, 43, 80, .14);
}

.msi-request-popup--review .msi-request-popup__close {
    top: 1.25rem;
    right: 1.25rem;
    color: var(--color-title);
}

.review-modal__title {
    margin: 0 0 1.5rem;
    color: var(--color-title);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.review-modal__form {
    display: flex;
    flex-direction: column;
}

.review-modal__fieldset {
    min-width: 0;
    margin: 0 0 1.75rem;
    padding: 0;
    border: 0;
}

.review-modal__legend,
.review-modal__comment-label {
    display: block;
    margin: 0 0 1.25rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.review-modal__rating {
    display: flex;
    gap: .45rem;
}

.review-modal__star {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    color: #7f0f32;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: .85;
    cursor: pointer;
}

.review-modal__star span {
    display: inline-block;
}

.review-modal__star:focus-visible {
    outline: 2px solid var(--color-marked);
    outline-offset: 2px;
}

.review-modal__field-error {
    margin: .5rem 0 0;
    color: #7f0f32;
    font-size: .875rem;
}

.review-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
}

.review-modal__tag {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.review-modal__tag input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.review-modal__tag span {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    padding: .35rem .75rem;
    border: 1px solid #7f0f32;
    color: #6f1632;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: color .2s ease, background-color .2s ease;
}

.review-modal__tag input:checked + span {
    color: var(--color-white);
    background: #7f0f32;
}

.review-modal__tag input:focus-visible + span {
    outline: 2px solid var(--color-marked);
    outline-offset: 2px;
}

.review-modal__comment-label {
    margin-bottom: .875rem;
}

.review-modal__comment {
    display: block;
    width: 100%;
    min-height: 9.5rem;
    resize: vertical;
    padding: 1rem;
    border: var(--border-1);
    border-radius: 0;
    outline: 0;
    color: var(--color-text);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.3;
}

.review-modal__comment::placeholder {
    color: rgba(35, 48, 71, .45);
}

.review-modal__comment:focus {
    border-color: var(--color-marked);
}

.review-modal__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    gap: 1.5rem;
    align-items: end;
    margin-top: 1.5rem;
}

.review-modal__file {
    display: inline-flex;
    min-width: 0;
    min-height: var(--control-min-size);
    align-items: center;
    gap: .5rem;
    color: #6f1632;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
}

.review-modal__file input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.review-modal__file input:focus-visible + svg {
    outline: 2px solid var(--color-marked);
    outline-offset: 2px;
}

.review-modal__file span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-modal__submit {
    min-height: 3.125rem;
    padding: .75rem 1.5rem;
    border: 0;
    color: var(--color-white);
    background: var(--color-title);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.review-modal__submit:hover,
.review-modal__submit:focus-visible {
    background: var(--color-marked);
}

.review-modal__submit:disabled {
    cursor: wait;
    opacity: .7;
}

.review-modal__message {
    margin-top: 1rem;
    padding: .85rem 1rem;
    color: var(--color-title);
    background: rgba(29, 127, 153, .12);
    font-weight: 700;
}

.review-modal__message--error {
    color: #7f0f32;
    background: rgba(127, 15, 50, .1);
}

.review-modal__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 47.5rem) {
    .reviews__actions {
        padding: 1rem 0 0;
    }

    .reviews__add-button {
        width: 100%;
        min-height: var(--control-min-size);
    }

    .msi-request-popup--review {
        align-items: start;
        padding: 2rem 1rem;
        overflow-y: auto;
    }

    .review-modal__dialog {
        width: 100%;
        max-height: none;
        padding: 2rem 1.5rem 1.5rem;
    }

    .msi-request-popup--review .msi-request-popup__close {
        top: .75rem;
        right: .75rem;
    }

    .review-modal__title {
        margin-bottom: 2rem;
        font-size: 2rem;
    }

    .review-modal__legend,
    .review-modal__comment-label {
        font-size: 1rem;
    }

    .review-modal__rating {
        gap: .2rem;
    }

    .review-modal__star {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 2.8rem;
    }

    .review-modal__tags {
        gap: .5rem;
    }

    .review-modal__tag span {
        min-height: 2.5rem;
        font-size: .9375rem;
    }

    .review-modal__comment {
        min-height: 12rem;
    }

    .review-modal__footer {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .review-modal__file {
        align-items: flex-start;
    }

    .review-modal__file span {
        white-space: normal;
    }

    .review-modal__submit {
        width: min(100%, 19.5rem);
        justify-self: center;
        min-height: 3.875rem;
    }
}

/* End */
/* /local/templates/msi/components/bitrix/news.detail/hero/style.css?1787137126827 */
/* /local/templates/msi/components/bitrix/news.list/msi_numbers/style.css?1787130216661 */
/* /local/templates/msi/components/bitrix/catalog.section.list/courses/style.css?17889473108479 */
/* /local/templates/msi/components/bitrix/news.list/advantages/style.css?17871302355359 */
/* /local/templates/msi/components/bitrix/news.list/work_scheme/style.css?17872348593636 */
/* /local/templates/msi/components/bitrix/news.detail/certificates/style.css?17871303041201 */
/* /local/templates/msi/components/bitrix/news.list/reviews/style.css?17871303838904 */
