/* Не удалось уменьшить размер. Содержимое возвращается без уменьшения.
(477,39): run-time error CSS1046: Expect comma, found '255'
(477,47): run-time error CSS1046: Expect comma, found '/'
(546,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '@media'
: run-time error CSS1066: Unexpected end of file encountered
 */
/* Шрифт заголовков Oswald остаётся */
@font-face {
    font-family: "Oswald";
    src: url("/Content/fonts/oswald/Oswald-VariableFont_wght.ttf") format("truetype");
}

/* Базовая типографика и фон в стиле палитры из paste.txt */
body {
    padding-top: 50px !important;
    padding-bottom: 0 !important;
    width: 100vw;
    overflow-x: hidden;
    font-family: Verdana, sans-serif, 'Segoe UI', Tahoma, Geneva, Arial !important;
    font-size: 16px;
    color: #000000; /* основной текст как в .event__aside */ /* [file:1] */
    background-color: #ffffff; /* фон колонок .all-columns */ /* [file:1] */
}

/* Заголовки Oswald */
.text-oswald {
    font-family: 'Oswald';
}

.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Oswald';
}

/* Инпуты */
input,
select,
textarea {
    max-width: 100%;
}

/* Шапка/футер */
header {
    margin: 0 !important;
    padding: 0 !important;
}

footer a {
    color: #6666cc; /* как ссылки/теги и заголовки новостей */ /* [file:1] */
}

    footer a:hover {
        color: #E54323; /* акцент как .required и другие элементы */ /* [file:1] */
    }

/* Меню */
.nav-item {
    padding: 0 10px;
}

/* Стрелки слайдера в фирменном синем */
.owl-next, .owl-prev {
    position: absolute;
    top: calc(100vh / 2.5 / 2 - 16px);
    z-index: 20;
    color: #ffffff !important;
    background: transparent;
}

    .owl-next:hover, .owl-prev:hover {
        background: #6666cc; /* вместо #ff6600 */ /* [file:1] */
    }

.owl-next {
    right: 40px;
}

.owl-prev {
    left: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 0;
    background: rgba(34, 60, 80, 0.15);
    width: 100%;
}

/* Блоки новостей — фон ближе к основной палитре, без тёмного синего */
.news .newsblock {
    height: 550px;
    background: #6666cc center; /* был #164676 */ /* [file:1] */
    background-size: cover;
    position: relative;
}

    .news .newsblock .news-category {
        background: rgba(0,0,0,0.5);
        opacity: 0;
        transition: opacity .75s;
    }

    .news .newsblock:hover .news-category {
        opacity: 0.85;
    }

.news a {
    height: auto;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    display: block;
    width: 100%;
    position: absolute;
    text-align: left;
    bottom: 0;
    left: 0;
    text-decoration: none;
}

    .news a span.news-header {
        text-decoration: none;
        background-image: linear-gradient(rgba(255,255,255,0.99), rgba(255,255,255,0.85));
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 0% 1px;
        transition: line-height .7s, background-size .7s;
        font-size: 2.15rem;
        color: #ffffff;
        line-height: 2rem;
    }

    .news a:hover span.news-header {
        background-size: 100% 1px;
        line-height: 2.75rem;
    }

/* Варианты фоновых картинок новостей */
.news-gallary-pic,
.news-img-square {
    height: 250px;
    background: #6666cc center; /* был #164676 */ /* [file:1] */
    background-size: cover;
    position: relative;
}

/* Буквица в новости: акцентный цвет из палитры */
.news-detail-text:first-letter {
    font-size: 6.0rem;
    display: block;
    float: left;
    margin-right: 5px;
    margin-top: 0;
    padding-top: 0;
    line-height: 3.85rem;
    background-color: #E54323; /* акцент */ /* [file:1] */
    color: #ffffff;
    padding: 5px 5px;
    padding-top: 0 !important;
    padding-left: 0 !important;
    font-family: 'Oswald'; /* чтобы не конфликтовать с PlayFair */
}

/* Новости ALT */
.newsalt .newsblock .news-category {
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity .75s;
}

.newsalt .newsblock:hover .news-category {
    opacity: 0.85;
}

.newsalt .newsblock {
    height: 220px;
    background: #6666cc center; /* был #164676 */ /* [file:1] */
    background-size: cover;
    position: relative;
}

.newsalt a {
    width: 100%;
    color: #6666cc; /* основной синий ссылок */ /* [file:1] */
    text-align: left;
    text-decoration: none;
}

    .newsalt a span.news-header {
        text-decoration: none;
        background-image: linear-gradient(rgba(102,102,204,0.99), rgba(255,255,255,0.85));
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 0% 1px;
        transition: line-height .7s, background-size .7s;
        font-size: 1.15rem;
        color: #6666cc;
        line-height: 2rem;
    }

    .newsalt a:hover span.news-header {
        background-size: 100% 1px;
        line-height: 2rem;
    }

/* Кнопка-аккордеон: оставляем FontAwesome, акцент цвет можно при необходимости задать через .btn-* классы */
.btn-collapsed {
    position: relative;
}

    .btn-collapsed::after {
        content: "\f106";
        font-family: FontAwesome;
        display: inline-block;
        position: absolute;
        right: 10px;
        top: calc(50% - 1.01rem);
        font-size: 1.5rem;
    }

    .btn-collapsed.collapsed::after {
        content: "\f107";
        font-family: FontAwesome;
        display: inline-block;
        position: absolute;
        right: 10px;
        top: calc(50% - 1.01rem);
        font-size: 1.5rem;
    }

/* Страны */
#countries .nav-link {
    border: 0;
    color: #6666cc; /* вместо #164676 */ /* [file:1] */
}

    #countries .nav-link:hover {
        border-top: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        background: rgba(34, 60, 80, 0.05);
    }

    #countries .nav-link img {
        width: 36px;
        margin-right: 25px;
    }

    #countries .nav-link.active {
        border: 0 !important;
        color: #E54323; /* активная вкладка — акцент */ /* [file:1] */
        border-top: 1px solid rgba(0,0,0,0.5);
        border-bottom: 1px solid rgba(0,0,0,0.5);
        border-left: 0 !important;
        border-right: 0 !important;
    }

        #countries .nav-link.active img {
            width: 60px;
            margin-right: 25px;
        }

/* Фиксированные элементы и мелочи */
.fixed {
    position: fixed;
    left: auto;
    top: 0;
    right: auto;
    bottom: auto;
    width: unset;
    z-index: 9;
}

.highlight {
    font-weight: bold;
    color: #6666cc; /* вместо #17a2b8, в тон ссылкам */ /* [file:1] */
}

.list-item {
    margin-left: 20px;
}

/* Подпись с тултипом */
a.signature {
    position: relative;
}

    a.signature span {
        position: absolute;
        bottom: 3.75em;
        left: calc(25% - 12px);
        background-color: #6666cc; /* вместо #164676 */ /* [file:1] */
        color: #ffffff;
        padding: 10px;
        font-size: 0.75em;
        display: none;
        white-space: nowrap;
        text-align: left;
    }

        a.signature span:after {
            border: 10px solid transparent;
            border-top: 10px solid #6666cc; /* вместо #164676 */ /* [file:1] */
            content: '';
            position: absolute;
            left: 12px;
            bottom: -20%;
        }

    a.signature:hover span {
        display: block;
    }

/* медиазапросы, как были, можно вынести отдельно */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }

    #RBLcategory label {
        display: inline-block;
        border-right: solid 1px #e9ecef;
        margin: 5px 10px;
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 1640px) {
    #RBLcategory label {
        display: flex;
        justify-content: space-between;
        border: 0;
    }
}

/*Скрытие фона на небольших разрешениях*/
@media (max-width: 1024px) {
    section, #come div, #terms div {
        background-image: none !important;
    }
}



/* Новые стили для оформления 2026 */

section {
    background-color:#000 !important;
}

.projectCard_panel {
    background: #6666cc;
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    padding: 22px 22px 22px 28px;
    -webkit-transition: background 0.25s ease-in-out;
    -o-transition: background 0.25s ease-in-out;
    transition: background 0.25s ease-in-out;
}

.projectCard:hover .projectCard_panel {
    background: #8ed800;
}

.c-accent {
    color: #8ed800 !important;
} 

.c-accent-bg {
    background-color: #8ed800 !important;
}

.f-accent {
    color: #a8a8ed !important;
}

.f-accent-bg {
    background-color: #a8a8ed !important;
}

.border-f-accent {
    border: 3px solid #8ed800 !important;
}


.c-title-accent {
    color: #8ed800 !important;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 16px;
}

#MainContent_divtxt .text-secondary {
    color: #009fe3 !important;
}

#MainContent_divtxt .text-danger {
    color: #000 !important;
}


#MainContent_divtxt1, .des-content {
    background-color: rgba(255,255,255,0.95) !important;
    padding-top: 5px;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.hover-lift {
    transition: all 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(110, 206, 245, 0.3) !important;
    }

.bg-gradient {
    background: linear-gradient(135deg, #d1f2ff 0%, #c3e6cb 100%);
}

.logo-text{
    font-size: 1.2rem !important;
}

.program-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    position: relative;
    margin: 2rem 0;
}

.timeline-step {
    flex: 1 1 200px;
    max-width: 220px;
    text-align: center;
    position: relative;
}
 

.step-number {
    width: 50px;
    height: 50px;
    background: #8ed800;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(142,216,0,0.3);
    position: relative;
    z-index: 2;
}

.timeline-step.active .step-number {
    background: #8ed800;
    box-shadow: 0 6px 20px rgba(110,206,245,0.4);
}

.step-content {
    background: #6666cc;
    padding: 1rem 0.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 3px solid #8ed800;
    transition: all 0.3s ease;
}

    .step-content hr {
        border-top: 1px solid rgb(255 255 255 / 20%)
    }

    .step-title {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.step-date {
    color: #fff;
    font-size: 0.8rem;
}

/* Основная кнопка в цвете #8ed800 */
.btn-accent {
    color: #212529;
    background-color: #8ed800;
    border-color: #8ed800;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-accent-f {
    color: #fff;
    background-color: rgb(102, 102, 204);
    border-color: rgb(102, 102, 204);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

    /* Hover */
    .btn-accent:hover {
        color: #000 !important;
        background-color: #79c300;
        border-color: #79c300;
    }

    /* Focus */
    .btn-accent:focus,
    .btn-accent.focus {
        box-shadow: 0 0 0 .2rem rgba(142, 216, 0, 0.45);
    }

    /* Disabled */
    .btn-accent.disabled,
    .btn-accent:disabled {
        color: #212529;
        background-color: #8ed800;
        border-color: #8ed800;
        opacity: .65;
    }

    /* Active */
    .btn-accent:not(:disabled):not(.disabled):active,
    .btn-accent:not(:disabled):not(.disabled).active,
    .show > .btn-accent.dropdown-toggle {
        color: #212529;
        background-color: #6fb300;
        border-color: #6fb300;
    }

        .btn-accent:not(:disabled):not(.disabled):active:focus,
        .btn-accent:not(:disabled):not(.disabled).active:focus,
        .show > .btn-accent.dropdown-toggle:focus {
            box-shadow: 0 0 0 
            @media (max-width: 768px) {
    .program-timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-step:not(:last-child)::after {
        display: none;
    }
}

