
/* ==========================================================
   СТРАНИЦА «АБИТУРИЕНТУ»
   Подключать после main_0_3.css и общих стилей главной страницы
========================================================== */

.applicant-page {
    --applicant-blue: #012951;
    --applicant-blue-light: #1769aa;
    --applicant-orange: #ea6645;
    --applicant-text: #17212b;
    --applicant-muted: #637282;
    --applicant-border: #dce5ec;
    --applicant-surface: #f3f7fa;
}

.applicant-page,
.applicant-page * {
    box-sizing: border-box;
}

.applicant-page section {
    scroll-margin-top: 110px;
}

/* ----------------------------------------------------------
   Первый экран
---------------------------------------------------------- */

.applicant-hero {
    position: relative;
    min-height: 430px;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 14px;
    background:
        linear-gradient(
            100deg,
            #012951 0%,
            #0a3f71 46%,
            #54718d 100%
        ),
        url("/uploads/thumbs/fon_rr.webp");
    background-repeat: no-repeat, repeat;
    background-size: cover, auto;
    background-position: center, center;
    box-shadow: 0 12px 32px rgba(1, 41, 81, 0.16);
    isolation: isolate;
}

.applicant-hero__media {
    display: none;
}

.applicant-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.applicant-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(1, 28, 55, 0.12) 0%,
            rgba(1, 38, 74, 0.08) 48%,
            rgba(255, 255, 255, 0.06) 100%
        );
}

/* Небольшой оранжевый акцент сверху */
.applicant-hero::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 170px;
    height: 5px;
    content: "";
    background: #ea6645;
}

.applicant-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 430px;
    max-width: 690px;
    padding: 54px 50px;
    color: #ffffff;
}

.applicant-hero__label {
    display: block;
    margin-bottom: 12px;
    color: #79d3f5;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.applicant-hero__title {
    display: block;
    margin: 0 0 17px;
    color: #ffffff;
    font-size: 37px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
}

.applicant-hero__title::after {
    display: none;
}

.applicant-hero__text {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
}

.applicant-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.applicant-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 47px;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.applicant-hero__button span {
    font-weight: 700 !important;
    transition: transform 0.25s ease;
}

.applicant-hero__button--primary {
    border: 1px solid var(--applicant-orange);
    background: var(--applicant-orange);
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(234, 102, 69, 0.26);
}

.applicant-hero__button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff !important;
    backdrop-filter: blur(6px);
}

.applicant-hero__button:hover,
.applicant-hero__button:focus {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.applicant-hero__button--primary:hover,
.applicant-hero__button--primary:focus {
    background: #f27658;
    border-color: #f27658;
    box-shadow: 0 11px 24px rgba(234, 102, 69, 0.34);
}

.applicant-hero__button--secondary:hover,
.applicant-hero__button--secondary:focus {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.16);
}

.applicant-hero__button:hover span,
.applicant-hero__button:focus span {
    transform: translateX(3px);
}

/* ----------------------------------------------------------
   Якорная навигация
---------------------------------------------------------- */

.applicant-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 23px;
    padding: 7px;
    border: 1px solid var(--applicant-border);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(1, 41, 81, 0.05);
}

.applicant-anchor-nav a {
    flex: 1 1 auto;
    padding: 10px 12px;
    border-radius: 7px;
    color: #465a6d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.applicant-anchor-nav a:hover,
.applicant-anchor-nav a:focus {
    background: #eef5f9;
    color: var(--applicant-blue);
}

/* ----------------------------------------------------------
   Контакты приёмной комиссии – уточнения общего компонента
---------------------------------------------------------- */

.applicant-page .applicant-contact {
    margin: 0 0 22px;
}

.applicant-page .applicant-contact .admission-info__title {
    font-size: 21px;
}

/* ----------------------------------------------------------
   Две главные кнопки – используем компонент главной
---------------------------------------------------------- */

.applicant-page .applicant-primary-actions {
    max-width: none;
    margin: 0 0 34px;
}

/* ----------------------------------------------------------
   Универсальный заголовок раздела
---------------------------------------------------------- */

.applicant-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 23px;
}

.applicant-section-header > div {
    max-width: 720px;
}

.applicant-section-header__label {
    display: block;
    margin-bottom: 7px;
    color: var(--applicant-blue-light);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700 !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.applicant-section-header__title {
    display: block;
    margin: 0 0 9px;
    color: var(--applicant-text);
    font-size: 29px;
    line-height: 1.25;
    font-weight: 700;
}

.applicant-section-header__title::after {
    display: none;
}

.applicant-section-header__text {
    margin: 0;
    color: var(--applicant-muted);
    font-size: 13px;
    line-height: 1.65;
    font-weight: 400;
}

/* ----------------------------------------------------------
   Главные информационные плашки
---------------------------------------------------------- */

.applicant-links-section {
    margin: 0 0 52px;
}

.applicant-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.applicant-link-card {
    --card-image: none;

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 205px;
    padding: 21px 48px 21px 20px;
    overflow: hidden;
    border-radius: 12px;
    background:
        linear-gradient(
            180deg,
            rgba(1, 41, 81, 0.04) 6%,
            rgba(1, 41, 81, 0.45) 52%,
            rgba(1, 37, 72, 0.97) 100%
        ),
        var(--card-image) center / cover no-repeat;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 7px 20px rgba(1, 41, 81, 0.12);
    isolation: isolate;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

.applicant-link-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background: url("/uploads/thumbs/fon_rr.webp") repeat;
    opacity: 0.12;
    pointer-events: none;
}

.applicant-link-card::after {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: var(--applicant-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.applicant-link-card__tag,
.applicant-link-card strong,
.applicant-link-card__arrow {
    position: relative;
    z-index: 2;
}

.applicant-link-card__tag {
    display: block;
    margin-bottom: 7px;
    color: #79d3f5;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.applicant-link-card strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.applicant-link-card__arrow {
    position: absolute;
    right: 17px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.applicant-link-card:hover,
.applicant-link-card:focus {
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(1, 41, 81, 0.2);
    filter: brightness(1.035);
    transform: translateY(-4px);
}

.applicant-link-card:hover::after,
.applicant-link-card:focus::after {
    transform: scaleX(1);
}

.applicant-link-card:hover .applicant-link-card__arrow,
.applicant-link-card:focus .applicant-link-card__arrow {
    background: var(--applicant-orange);
    transform: translateX(3px);
}

/* FAQ */

.applicant-faq-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.applicant-faq-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid var(--applicant-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--applicant-blue) !important;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.applicant-faq-links a span {
    flex: 0 0 auto;
    color: var(--applicant-orange);
    font-size: 18px;
    font-weight: 400 !important;
    transition: transform 0.25s ease;
}

.applicant-faq-links a:hover,
.applicant-faq-links a:focus {
    border-color: #c6d7e3;
    box-shadow: 0 8px 20px rgba(1, 41, 81, 0.09);
    transform: translateY(-2px);
}

.applicant-faq-links a:hover span,
.applicant-faq-links a:focus span {
    transform: translateX(3px);
}

/* ----------------------------------------------------------
   Преимущества – используем стили главной
---------------------------------------------------------- */

.applicant-page .applicant-benefits {
    margin: 52px 0 56px;
}

.applicant-page .applicant-benefits .study-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.applicant-page .applicant-benefits .study-benefit-card:last-child {
    grid-column: 1 / -1;
}

/* ----------------------------------------------------------
   Образовательные программы и испытания – общие стили главной
---------------------------------------------------------- */

.applicant-page .applicant-programs,
.applicant-page .applicant-exams {
    margin: 54px 0 58px;
}

.applicant-page .applicant-programs .pl_abitur_info,
.applicant-page .applicant-exams .pl_abitur_info {
    min-height: 322px;
}

.applicant-page .applicant-exams .pl_abitur_info {
    min-height: 350px;
}

.applicant-page .applicant-exams .pl_abitur_info.vst {
    min-height: 350px;
}

/* ----------------------------------------------------------
   Ход приёмной кампании
---------------------------------------------------------- */

.applicant-results {
    margin: 54px 0 58px;
}

.applicant-results__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.applicant-result-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 17px 52px 17px 17px;
    overflow: hidden;
    border: 1px solid var(--applicant-border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--applicant-text) !important;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(1, 41, 81, 0.055);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.applicant-result-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    content: "";
    background: var(--applicant-blue-light);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.applicant-result-card__icon {
    flex: 0 0 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    border-radius: 12px;
    background: #eef5f9;
}

.applicant-result-card__icon img {
    display: block;
    max-width: 37px;
    max-height: 37px;
}

.applicant-result-card__content {
    display: block;
    min-width: 0;
}

.applicant-result-card__content small {
    display: block;
    margin-bottom: 4px;
    color: var(--applicant-blue-light);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.applicant-result-card__content strong {
    display: block;
    color: var(--applicant-blue);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.applicant-result-card__arrow {
    position: absolute;
    top: 50%;
    right: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #eef3f7;
    color: var(--applicant-blue-light);
    font-size: 17px;
    transform: translateY(-50%);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.applicant-result-card:hover,
.applicant-result-card:focus {
    border-color: #c6d6e2;
    box-shadow: 0 10px 24px rgba(1, 41, 81, 0.11);
    transform: translateY(-3px);
}

.applicant-result-card:hover::before,
.applicant-result-card:focus::before {
    transform: scaleY(1);
}

.applicant-result-card:hover .applicant-result-card__arrow,
.applicant-result-card:focus .applicant-result-card__arrow {
    background: var(--applicant-orange);
    color: #ffffff;
    transform: translate(3px, -50%);
}

/* ----------------------------------------------------------
   Шаги подачи документов
---------------------------------------------------------- */

.applicant-steps {
    margin: 54px 0 58px;
}

.applicant-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.applicant-step {
    position: relative;
    min-height: 245px;
    padding: 24px 20px 21px;
    overflow: hidden;
    border: 1px solid var(--applicant-border);
    border-radius: 12px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f4f8fa 100%);
    box-shadow: 0 5px 16px rgba(1, 41, 81, 0.055);
}

.applicant-step::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 85px;
    height: 4px;
    content: "";
    background: var(--applicant-orange);
}

.applicant-step__number {
    position: absolute;
    top: 15px;
    right: 16px;
    color: rgba(1, 41, 81, 0.09);
    font-size: 37px;
    line-height: 1;
    font-weight: 800 !important;
}

.applicant-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 17px;
    border-radius: 14px;
    background: #eaf3f8;
}

.applicant-step__icon img {
    display: block;
    max-width: 39px;
    max-height: 39px;
}

.applicant-step__content h3 {
    display: block;
    margin: 0 0 9px;
    color: var(--applicant-blue);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.applicant-step__content h3::after {
    display: none;
}

.applicant-step__content p {
    margin: 0;
    color: var(--applicant-muted);
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
}

.applicant-step__content a {
    font-weight: 700;
}

/* ----------------------------------------------------------
   Нормативные документы
---------------------------------------------------------- */

.applicant-documents {
    margin: 54px 0 58px;
}

.applicant-documents__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.applicant-document-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 115px;
    padding: 18px 46px 18px 17px;
    border: 1px solid var(--applicant-border);
    border-radius: 11px;
    background:
        url("/uploads/thumbs/fon_rr.webp") repeat,
        #f8fafb;
    color: var(--applicant-text) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(1, 41, 81, 0.05);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.applicant-document-card__icon {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--applicant-orange);
    font-size: 22px;
    box-shadow: 0 3px 10px rgba(1, 41, 81, 0.08);
}

.applicant-document-card__content {
    display: block;
    min-width: 0;
}

.applicant-document-card__content small {
    display: block;
    margin-bottom: 4px;
    color: var(--applicant-blue-light);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.applicant-document-card__content strong {
    display: block;
    color: var(--applicant-blue);
    font-size: 13px;
    line-height: 1.42;
    font-weight: 700;
}

.applicant-document-card__arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    color: var(--applicant-orange);
    font-size: 20px;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.applicant-document-card:hover,
.applicant-document-card:focus {
    border-color: #c5d5e1;
    box-shadow: 0 10px 24px rgba(1, 41, 81, 0.11);
    transform: translateY(-3px);
}

.applicant-document-card:hover .applicant-document-card__arrow,
.applicant-document-card:focus .applicant-document-card__arrow {
    transform: translate(3px, -50%);
}

/* ----------------------------------------------------------
   Планшеты
---------------------------------------------------------- */

@media (max-width: 991px) {
    .applicant-hero,
    .applicant-hero__content {
        min-height: 390px;
    }

    .applicant-hero__content {
        max-width: 620px;
        padding: 44px 38px;
    }

    .applicant-hero__title {
        font-size: 32px;
    }

    .applicant-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .applicant-page .applicant-benefits .study-benefit-card:last-child {
        grid-column: auto;
    }

    .applicant-steps__list,
    .applicant-documents__grid {
        grid-template-columns: 1fr;
    }

    .applicant-step {
        min-height: 0;
    }
}

/* ----------------------------------------------------------
   Телефоны
---------------------------------------------------------- */

@media (max-width: 767px) {
    .applicant-hero {
        min-height: 0;
        margin-bottom: 14px;
        border-radius: 10px;
    }

    .applicant-hero__media {
        position: relative;
        height: 210px;
    }

    .applicant-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(1, 41, 81, 0.08) 0%,
                rgba(1, 41, 81, 0.75) 75%,
                rgba(1, 41, 81, 0.98) 100%
            );
    }

    .applicant-hero__content {
        min-height: 0;
        max-width: none;
        padding: 24px 19px 21px;
        background: var(--applicant-blue);
    }

    .applicant-hero__title {
        font-size: 25px;
        line-height: 1.26;
    }

    .applicant-hero__text {
        font-size: 12px;
        line-height: 1.6;
    }

    .applicant-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 19px;
    }

    .applicant-hero__button {
        width: 100%;
    }

    .applicant-anchor-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .applicant-anchor-nav a:last-child {
        grid-column: 1 / -1;
    }

    .applicant-page .applicant-primary-actions {
        margin-bottom: 28px;
    }

    .applicant-section-header__title {
        font-size: 24px;
    }

    .applicant-section-header__text {
        font-size: 12px;
    }

    .applicant-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .applicant-link-card {
        min-height: 180px;
        border-radius: 10px;
    }

    .applicant-faq-links {
        grid-template-columns: 1fr;
    }

    .applicant-page .applicant-benefits .study-benefits__grid {
        grid-template-columns: 1fr;
    }

    .applicant-results__grid {
        grid-template-columns: 1fr;
    }

    .applicant-result-card {
        min-height: 98px;
    }

    .applicant-step {
        padding: 21px 18px;
        border-radius: 10px;
    }

    .applicant-document-card {
        min-height: 103px;
    }

    .applicant-page .applicant-programs,
    .applicant-page .applicant-exams,
    .applicant-results,
    .applicant-steps,
    .applicant-documents,
    .applicant-page .applicant-benefits {
        margin: 42px 0 46px;
    }
}

/* ----------------------------------------------------------
   Сенсорные устройства и доступность
---------------------------------------------------------- */

@media (hover: none) {
    .applicant-link-card:hover,
    .applicant-result-card:hover,
    .applicant-document-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .applicant-page *,
    .applicant-page *::before,
    .applicant-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
/* ==================================================
   Боковое меню страницы «Абитуриенту»
================================================== */

.applicant-sidebar-menu {
    width: 100%;
    margin-top:118px;
}

.applicant-sidebar-group {
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 17px rgba(1, 41, 81, 0.065);
}

/* Заголовок группы */

.applicant-sidebar-group__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    border-bottom: 1px solid #e1e8ee;
    background:
        linear-gradient(
            rgba(248, 250, 252, 0.93),
            rgba(248, 250, 252, 0.93)
        ),
        url("/uploads/thumbs/fon_rr.webp");
}

.applicant-sidebar-group__icon {
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eaf4fa;
    color: #1769aa;
    font-size: 18px;
}

.applicant-sidebar-group__icon--orange {
    background: #fff0eb;
    color: #ea6645;
}

.applicant-sidebar-group__label {
    display: block;
    margin-bottom: 3px;
    color: #1769aa;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.applicant-sidebar-group__title {
    display: block;
    margin: 0;
    color: #082d57;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.applicant-sidebar-group__title::after {
    display: none;
}

/* Ссылки */

.applicant-sidebar-links {
    display: block;
}

.applicant-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 72px;
    padding: 13px 34px 13px 14px;
    border-bottom: 1px solid #e4ebf0;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.94),
            rgba(255, 255, 255, 0.94)
        ),
        url("/uploads/thumbs/fon_rr.webp");
    color: #17212b !important;
    text-decoration: none !important;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.applicant-sidebar-link:last-child {
    border-bottom: 0;
}

.applicant-sidebar-link::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    content: "";
    background: #1769aa;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.applicant-sidebar-link:hover,
.applicant-sidebar-link:focus {
    background:
        linear-gradient(
            rgba(246, 250, 253, 0.97),
            rgba(246, 250, 253, 0.97)
        ),
        url("/uploads/thumbs/fon_rr.webp");
    color: #17212b !important;
    box-shadow: inset 0 0 0 1px rgba(23, 105, 170, 0.06);
    transform: translateX(3px);
}

.applicant-sidebar-link:hover::before,
.applicant-sidebar-link:focus::before {
    transform: scaleY(1);
}

/* Акцентная ссылка */

.applicant-sidebar-link--important::before {
    background: #ea6645;
}

.applicant-sidebar-link--contact {
    background:
        linear-gradient(
            rgba(1, 41, 81, 0.95),
            rgba(1, 41, 81, 0.95)
        ),
        url("/uploads/thumbs/fon_rr.webp");
}

.applicant-sidebar-link--contact,
.applicant-sidebar-link--contact:hover,
.applicant-sidebar-link--contact:focus {
    color: #ffffff !important;
}

.applicant-sidebar-link--contact::before {
    background: #ea6645;
}

.applicant-sidebar-link--contact .applicant-sidebar-link__icon {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #79d3f5;
}

.applicant-sidebar-link--contact .applicant-sidebar-link__content strong {
    color: #ffffff;
}

.applicant-sidebar-link--contact .applicant-sidebar-link__content small {
    color: rgba(255, 255, 255, 0.67);
}

/* Иконка */

.applicant-sidebar-link__icon {
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d5e3ec;
    border-radius: 9px;
    background: #f1f7fa;
    color: #1769aa;
    font-size: 14px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.applicant-sidebar-link:hover .applicant-sidebar-link__icon {
    border-color: #ea6645;
    background: #ea6645;
    color: #ffffff;
}

/* Текст */

.applicant-sidebar-link__content {
    display: block;
    flex: 1;
    min-width: 0;
}

.applicant-sidebar-link__content strong {
    display: block;
    margin-bottom: 3px;
    color: #082d57;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.applicant-sidebar-link__content small {
    display: block;
    color: #71808e;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 400;
}

/* Стрелка */

.applicant-sidebar-link__arrow {
    position: absolute;
    top: 50%;
    right: 13px;
    color: #8a9aaa;
    font-size: 17px;
    transform: translateY(-50%);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.applicant-sidebar-link:hover .applicant-sidebar-link__arrow,
.applicant-sidebar-link:focus .applicant-sidebar-link__arrow {
    color: #ea6645;
    transform: translate(3px, -50%);
}

.applicant-sidebar-link--contact .applicant-sidebar-link__arrow {
    color: rgba(255, 255, 255, 0.55);
}

/* Планшеты */

@media (max-width: 991px) {
    .applicant-sidebar-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 25px;
    }

    .applicant-sidebar-group {
        margin-bottom: 0;
    }
}

/* Телефоны */

@media (max-width: 767px) {
    .applicant-sidebar-menu {
        display: block;
        margin-top: 22px;
    }

    .applicant-sidebar-group {
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .applicant-sidebar-group__header {
        padding: 15px;
    }

    .applicant-sidebar-link {
        min-height: 68px;
        padding: 12px 32px 12px 13px;
    }

    .applicant-sidebar-link__content strong {
        font-size: 12px;
    }

    .applicant-sidebar-link__content small {
        font-size: 10px;
    }
}

/* Сенсорные устройства */

@media (hover: none) {
    .applicant-sidebar-link:hover {
        transform: none;
    }

    .applicant-sidebar-link:hover::before {
        transform: scaleY(0);
    }

    .applicant-sidebar-link:active {
        transform: scale(0.99);
    }
}
/* Контакты приёмной комиссии – исправление hover */

.applicant-sidebar-menu
.applicant-sidebar-link--contact,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:hover,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:focus {
    background:
        linear-gradient(
            rgba(1, 41, 81, 0.96),
            rgba(3, 55, 98, 0.96)
        ),
        url("/uploads/thumbs/fon_rr.webp") !important;

    color: #ffffff !important;
}

.applicant-sidebar-menu
.applicant-sidebar-link--contact:hover,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:focus {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 7px 17px rgba(1, 41, 81, 0.14) !important;

    transform: translateX(3px);
}

/* Заголовок */

.applicant-sidebar-menu
.applicant-sidebar-link--contact
.applicant-sidebar-link__content strong,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:hover
.applicant-sidebar-link__content strong,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:focus
.applicant-sidebar-link__content strong {
    color: #ffffff !important;
}

/* Подпись */

.applicant-sidebar-menu
.applicant-sidebar-link--contact
.applicant-sidebar-link__content small,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:hover
.applicant-sidebar-link__content small,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:focus
.applicant-sidebar-link__content small {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Иконка */

.applicant-sidebar-menu
.applicant-sidebar-link--contact
.applicant-sidebar-link__icon {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: #ea6645 !important;
    color: #ffffff !important;
}

.applicant-sidebar-menu
.applicant-sidebar-link--contact:hover
.applicant-sidebar-link__icon,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:focus
.applicant-sidebar-link__icon {
    border-color: #f47a5c !important;
    background: #f47a5c !important;
    color: #ffffff !important;
}

/* Стрелка */

.applicant-sidebar-menu
.applicant-sidebar-link--contact
.applicant-sidebar-link__arrow {
    color: rgba(255, 255, 255, 0.62) !important;
}

.applicant-sidebar-menu
.applicant-sidebar-link--contact:hover
.applicant-sidebar-link__arrow,
.applicant-sidebar-menu
.applicant-sidebar-link--contact:focus
.applicant-sidebar-link__arrow {
    color: #ffffff !important;
}