*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: unset;
}
body{
    font-family: sans-serif;
    font-size: 20px;
}
:root{
    --container-width: 1200px;
    --container-padding: 16px;
}

header{
    height: 103svh;
    width: 100vw;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.header-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
}
 .video_bg_overlay{ 
    background-color: #031F5957;
    content: '';
    top: 0;
    left: 0;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    filter: contrast(1.35) brightness(1.15);
    width: 100%;
    display: flex;
    color: #fff;
    justify-content: space-between;
    border-bottom: 1px solid #FFFFFF1A;
    mix-blend-mode: difference;
    z-index: 1000;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.nav_divider{
    display: flex;
}
.nav_logo{
    width: auto;
    aspect-ratio: 640 / 420;
    height: 80px;
    padding: 0;
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    overflow: hidden;
    background-color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav_logo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.nav_item{
    /* Frame 8 */
font-size: 14px;
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 12px;

    width: fit-content;
    height: auto;

    border-width: 0px 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 0px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 1;
    margin: 0px -1px;
    transition: color 0.3s ease, border-color 0.3s ease;

}

.nav_item_subtitle{
    color: #FFFFFFB2;
    font-size: 0.8em;
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav_item_title{
    transition: color 0.3s ease;
}

body[data-header="light"] nav{
    color: #0b1a3a;
    border-bottom-color: rgba(7, 27, 64, 0.12);
    mix-blend-mode: normal;
    filter: none;
}

body[data-header="dark"] nav{
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    mix-blend-mode: normal;
    filter: none;
}

body[data-header="light"] .nav_item_subtitle,
body[data-header="light"] .nav_item_title{
    color: #0b1a3a;
}

body[data-header="dark"] .nav_item_subtitle,
body[data-header="dark"] .nav_item_title{
    color: #fff;
}

body[data-header="light"] .nav_item{
    border-color: rgba(7, 27, 64, 0.12);
}

body[data-header="dark"] .nav_item{
    border-color: rgba(255, 255, 255, 0.12);
}

body[data-header="light"] .nav_logo{
    border-right-color: rgba(7, 27, 64, 0.12);
}

body[data-header="dark"] .nav_logo{
    border-right-color: rgba(255, 255, 255, 0.12);
}

.nav_item_title{
}

.lead_block{
    padding: 15px;
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
    
}
.lead_block_naming{
    background-color: #fff;
    color: #0D3CBA;
    font-size: 0.85em;
    width: fit-content;
    padding: 5px;
    border-radius: 4px;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    gap: 10px;

}
.lead_block h1{
    text-transform: uppercase;
    font-size: 3em;
}

.lead_block p{
}
main{
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    overflow: hidden;
}
#workfor{
    background-color: #fff;
    height: 80vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 8px;
}

#counters{
    padding: 0;
    background-color: #fff;
}

.counters{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    justify-content: center;
    gap: 24px;
    align-items: start;

    width: 100vw;
    min-height: 100svh;
    padding: 96px 24px 88px;
    color: #fff;
    border-radius: 0;
    overflow: hidden;
    background-image:
        linear-gradient(0deg, rgba(2, 12, 34, 0.5), rgba(2, 12, 34, 0.5)),
        url("../images/counters.jpg");
    background-size: cover;
    background-position: center;
}

.count{
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-row: 2;
    z-index: 1;
}

.count_num{
    display: flex;
    align-items: flex-end;
    font-family: 'Onest','sans-serif';
    gap: 6px;
    min-height: 64px;
    font-size: 4em;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.count_unit{
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.count_info{
    font-size: 0.9em;
    line-height: 1.4;
    opacity: 0.9;
    max-width: 280px;
}

.counters_bar{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 44px;
    background-color: #041334;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 1;
}

.counters_bar span{
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.counters_bar span:first-child{
    border-left: none;
}
#workfor h2{
    /* Работаем, чтобы сахалинские дети становились чемпионами! */

    
    width: 900px;
    font-family: 'Onest',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 2.8em;
    line-height: 110%;
    /* or 104px */
    letter-spacing: -0.02em;
    text-transform: uppercase;

    background: linear-gradient(127.93deg, rgba(7, 41, 109, 0) 22.12%, #07296D 70.45%), #021335;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    


}

.workfor-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    grid-column-start: 2;
    grid-row-start: 1;
    margin-top: 40px;
}

.row{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 84px var(--container-padding);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

.info-tip{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0b1a3a;
}

.info-tip::before{
    content: '';
    width: 6px;
    height: 6px;
    background-color: #0b1a3a;
    border-radius: 2px;
}

.row h3{
    font-family: 'Onest', sans-serif;
    font-size: 2.4em;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #071b40;
    margin-bottom: 12px;
}

.row p{
    color: #5d6b86;
    line-height: 1.5;
    max-width: 640px;
}

.themes{
    float: left;
    width: 220px;
    margin-right: 32px;
    padding: 84px var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.8em;
    color: #6b7892;
}

.themes .theme_title{
    font-weight: 600;
    color: #2a3956;
    margin-bottom: 6px;
}

.themes .theme_item{
    background-color: #f1f3f7;
    color: #2a3956;
    padding: 8px 10px;
    border-radius: 6px;
}

.list{
    margin-left: 252px;
    padding: 84px var(--container-padding);
}

.tabs{
    display: flex;
    font-family: 'Onest', sans-serif;
    gap: 26px;
    border-bottom: 1px solid #e6e9ef;
    margin-bottom: 26px;
    padding-bottom: 6px;
    color: #7a879c;
    font-weight: 600;
}

.tab{
    position: relative;
    padding: 8px 0;
    cursor: pointer;
    color: inherit;
}

.selected_tab{
    color: #0b1a3a;
}

.selected_tab::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    background-color: #0b1a3a;
}

.new_wrapper{
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
}

.new{
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #1e2c4a;
}

.new_link{
    display: block;
    color: inherit;
}

.new_image{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #a7c4da, #d2e1ef);
    box-shadow: 0 10px 24px rgba(5, 22, 55, 0.14);
}

.new_image::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 12, 34, 0.45), rgba(2, 12, 34, 0) 42%);
}

.image_title{
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(4, 19, 52, 0.75);
    color: #fff;
    font-size: 0.7em;
    padding: 4px 8px;
    border-radius: 6px;
}

.new_date{
    font-size: 0.75em;
    color: #8a95a8;
}

.new p{
    font-size: 0.95em;
    line-height: 1.4;
}

@media (max-width: 1100px){
    .new_wrapper{
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 900px){
    .row{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .themes{
        float: none;
        width: 100%;
        margin: 0 0 24px;
    }

    .list{
        margin-left: 0;
    }
}

@media (max-width: 700px){
    .new_wrapper{
        grid-template-columns: 1fr;
    }
}

.video-bg{
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0b1a3a;
}

.video-bg-media{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.video-bg-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 13, 32, 0.2), rgba(4, 13, 32, 0.6));
    z-index: 1;
}

.video-info-block{
    position: relative;
    z-index: 2;
    background-color: #fff;
    color: #0b1a3a;
    width: 260px;
    margin-left: 48px;
    padding: 20px 18px;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(5, 22, 55, 0.22);
}

.info-block-header{
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}


.info-block-header img{
    display: unset;
}

.info-block-body b{
    display: block;
    font-weight: 500;
    font-size: 0.95em;
    color: rgba(0, 49, 182, 1);
    line-height: 1.3;
    margin-bottom: 10px;
}

.info-block-body p{
    font-size: 0.8em;
    line-height: 1.4;
    color: rgba(0, 49, 182, 0.8)
}

.video-titles{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 var(--container-padding);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

.video-title{
    position: relative;
    padding: 12px 0;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
}

.video-title::after{
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

.video-title.active{
    color: #fff;
    font-weight: 500;
}

.video-title.active::after{
    background-color: #2b6bff;
}

@media (max-width: 900px){
    .video-bg{
        min-height: 440px;
    }

    .video-info-block{
        margin-left: var(--container-padding);
    }

    .video-titles{
        grid-template-columns: repeat(2, 1fr);
        bottom: 10px;
    }
}

@media (max-width: 600px){
    .video-info-block{
        width: calc(100% - 32px);
        margin: 0 var(--container-padding);
    }

    .video-titles{
        grid-template-columns: 1fr 1fr;
        font-size: 0.85em;
    }
}

.wrapper{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding) 84px;
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 22px;
}

.card{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card_image{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle at 30% 30%, #d9e1ea, #c7d2dd);
    border: 1px solid #e3e7ee;
}

.card_image img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card_body{
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #0b1a3a;
}

.card_name a{
    font-size: 0.85em;
    font-weight: 600;
    color: #0b1a3a;
}

.card_position a{
    font-size: 0.7em;
    color: #7a879c;
}

@media (max-width: 1100px){
    .wrapper{
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 900px){
    .wrapper{
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        padding: 0 var(--container-padding) 64px;
    }
}

@media (max-width: 600px){
    .wrapper{
        grid-template-columns: 1fr;
        padding: 0 var(--container-padding) 48px;
    }
}

.photo-swiper{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding) 84px;
}

.photo-swiper .swiper-slide{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-swiper .swiper-slide img{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e2e6ee;
}

.photo-swiper .swiper-slide span{
    font-size: 0.7em;
    color: #7a879c;
}

.photo-swiper .swiper-button-prev,
.photo-swiper .swiper-button-next{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dbe2ec;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(5, 22, 55, 0.12);
}

.photo-swiper .swiper-button-prev::after,
.photo-swiper .swiper-button-next::after{
    font-size: 16px;
    color: #0b1a3a;
}

@media (max-width: 700px){
    .photo-swiper{
        padding: 0 var(--container-padding) 64px;
    }
}

.partners-section{
    background-color: #1737b8;
    color: #fff;
    padding: 96px 0 84px;
}

.partners-header{
    max-width: var(--container-width);
    margin: 0 auto 36px;
    padding: 0 var(--container-padding);
}

.partners-header h3{
    font-family: 'Onest', sans-serif;
    font-size: 2.8em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.partners-header p{
    font-size: 0.95em;
    opacity: 0.75;
    max-width: 520px;
    line-height: 1.5;
}

.partners-track{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding: 0 var(--container-padding);
    scroll-snap-type: x mandatory;
}

.partners-track::-webkit-scrollbar{
    height: 6px;
}

.partners-track::-webkit-scrollbar-thumb{
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
}

.partner-card{
    background-color: #1331a3;
    border-radius: 5px;
    padding: 24px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover{
    transform: scale(1.02);
    box-shadow: 0 16px 28px rgba(3, 12, 40, 0.25);
}

.partner-logo{
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.partner-logo img{
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}

.partner-info{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.partner-info strong{
    font-size: 1em;
}

.partner-info span{
    font-size: 0.75em;
    opacity: 0.7;
    line-height: 1.4;
}

.calendar-section{
    background-color: #1232b3;
    color: #fff;
    padding: 84px 0 96px;
}

.calendar-header{
    max-width: var(--container-width);
    margin: 0 auto 32px;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: start;
    gap: 32px;
}

.calendar-header h3{
    font-family: 'Onest', sans-serif;
    font-size: 2.4em;
    margin-bottom: 8px;
}

.calendar-header p{
    font-size: 0.9em;
    opacity: 0.75;
}

.calendar-cta{
    position: relative;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 18px 22px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    align-self: start;
    min-height: 84px;
    min-width: 260px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.calendar-cta:hover{
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.calendar-cta-icon{
    width: 24px;
    height: 24px;
    justify-self: end;
}

.calendar-cta-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.calendar-cta-label{
    font-size: 0.75em;
    opacity: 0.7;
    line-height: 1.2;
}

.calendar-cta-title{
    font-size: 1em;
    font-weight: 500;
    line-height: 1.15;
}

.calendar-table{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calendar-row{
    display: grid;
    grid-template-columns: 160px 1.6fr 120px 1.1fr 1.1fr 40px;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    padding: 16px 18px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.calendar-row:hover{
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.calendar-head{
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.calendar-date{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-badge{
    background: #fff;
    color: #1232b3;
    font-size: 0.7em;
    padding: 6px 8px;
    border-radius: 6px;
    font-weight: 700;
    width: fit-content;
}

.date-year{
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.7em;
    padding: 6px 8px;
    border-radius: 6px;
    width: fit-content;
}

.calendar-event strong{
    display: block;
    font-size: 0.95em;
    font-weight: 500;
    margin-bottom: 6px;
}

.calendar-location{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75em;
    opacity: 0.75;
}

.calendar-location::before{
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: inline-block;
}

.calendar-category{
    font-size: 0.8em;
    font-weight: 500;
}

.calendar-list{
    font-size: 0.7em;
    line-height: 1.4;
    opacity: 0.85;
}

.calendar-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    justify-self: end;
}

.calendar-arrow img{
    width: 16px;
    height: 16px;
}

@media (max-width: 1000px){
    .calendar-row{
        grid-template-columns: 140px 1.4fr 90px 1fr 1fr 30px;
    }
}

@media (max-width: 860px){
    .partners-section{
        padding: 72px 0;
    }

    .calendar-section{
        padding: 72px 0 84px;
    }

    .calendar-row{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .calendar-row.calendar-head{
        display: none;
    }

    .calendar-arrow{
        justify-self: start;
    }
}

@media (max-width: 600px){
    .partners-header h3{
        font-size: 2.1em;
    }

    .calendar-header{
        grid-template-columns: 1fr;
    }

    .calendar-header h3{
        font-size: 2em;
    }
}

/* Event detail page */
.event-detail-page{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.event-detail-hero{
    background: linear-gradient(132deg, #0f2ea6 0%, #224bc8 48%, #3158cc 100%);
    color: #fff;
    padding: 122px 0 64px;
}

.event-detail-wrap{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.event-detail-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.event-detail-back{
    color: #fff;
    font-size: 0.74em;
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 8px 12px;
    border-radius: 8px;
}

.event-detail-back:hover{
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.event-detail-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-detail-badge{
    font-size: 0.7em;
    font-weight: 700;
    color: #1232b3;
    background: #fff;
    padding: 7px 11px;
    border-radius: 8px;
}

.event-detail-badge-soft{
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 500;
}

.event-detail-title{
    font-family: 'Onest', sans-serif;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.06;
    max-width: 860px;
    margin: 0 0 14px;
}

.event-detail-subtitle{
    font-size: 0.95em;
    opacity: 0.78;
    margin-bottom: 18px;
}

.event-detail-categories{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-detail-chip{
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.72em;
    padding: 6px 10px;
    border-radius: 999px;
}

.event-detail-content{
    background: #f3f5f9;
    color: #1b2b4f;
    padding: 44px 0 88px;
}

.event-detail-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.event-detail-article{
    background: #fff;
    border-radius: 14px;
    padding: 26px 26px 28px;
    box-shadow: 0 10px 24px rgba(7, 24, 62, 0.08);
}

.event-detail-article h2{
    font-family: 'Onest', sans-serif;
    font-size: 1.35em;
    margin-bottom: 14px;
    color: #0b1a3a;
}

.event-detail-text{
    font-family: 'Manrope', sans-serif;
    font-size: 0.9em;
    line-height: 1.82;
}

.event-detail-text p{
    margin: 0 0 16px;
}

.event-detail-side{
    display: grid;
    gap: 18px;
}

.event-detail-card{
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(7, 24, 62, 0.08);
}

.event-detail-card h3{
    font-family: 'Onest', sans-serif;
    font-size: 1.05em;
    margin-bottom: 14px;
    color: #0b1a3a;
}

.event-detail-program{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.event-detail-program-col{
    background: #f6f8fc;
    border: 1px solid #e5ebf4;
    border-radius: 10px;
    padding: 14px;
}

.event-detail-program-col h4{
    font-size: 0.85em;
    margin-bottom: 10px;
    color: #0b1a3a;
}

.event-detail-program-col ul{
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    font-size: 0.76em;
}

.event-detail-program-col p{
    margin: 0;
    font-size: 0.76em;
    color: #6a7790;
}

.event-detail-card-meta dl{
    margin: 0;
    display: grid;
    gap: 14px;
}

.event-detail-card-meta dl div{
    display: grid;
    gap: 4px;
}

.event-detail-card-meta dt{
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #74839f;
}

.event-detail-card-meta dd{
    margin: 0;
    font-size: 0.86em;
    color: #0f234d;
}

@media (max-width: 980px){
    .event-detail-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px){
    .event-detail-hero{
        padding-top: 106px;
        padding-bottom: 52px;
    }

    .event-detail-top{
        flex-direction: column;
        align-items: flex-start;
    }

    .event-detail-program{
        grid-template-columns: 1fr;
    }

    .event-detail-content{
        padding-top: 30px;
        padding-bottom: 64px;
    }
}

/* News single page */
body.single-sk_news main.news-single-page{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Home page — layout aligned with the approved design */
html{
    scroll-behavior: smooth;
}

body.home{
    overflow-x: hidden;
    background: #fff;
    color: #061b46;
    font-family: 'Onest', sans-serif;
}

body.home header{
    min-height: 720px;
    height: 100svh;
    max-height: 960px;
}

body.home .video_bg_overlay{
    background: linear-gradient(90deg, rgba(5, 28, 72, 0.34), rgba(5, 28, 72, 0.08) 65%), rgba(8, 37, 86, 0.18);
}

body.home nav{
    min-height: 80px;
    align-items: stretch;
    font-family: 'Onest', sans-serif;
}

body.home .nav_divider{
    margin-left: auto;
}

.nav_toggle{
    display: none;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
}

.nav_toggle span{
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav_toggle.is-open span:nth-child(1){
    transform: translateY(6px) rotate(45deg);
}

.nav_toggle.is-open span:nth-child(2){
    opacity: 0;
}

.nav_toggle.is-open span:nth-child(3){
    transform: translateY(-6px) rotate(-45deg);
}

body.home .nav_item{
    min-width: 148px;
    padding: 14px 22px;
    gap: 5px;
    justify-content: center;
}

body.home .nav_item_subtitle{
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.72;
}

body.home .nav_item_title{
    font-size: 13px;
    line-height: 1.2;
}

body.home .lead_block{
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding) 72px;
    gap: 14px;
}

body.home .lead_block_naming{
    padding: 5px 9px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

body.home .lead_block h1{
    max-width: 940px;
    font-family: 'Onest', sans-serif;
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

body.home .lead_block p{
    max-width: 720px;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.9;
}

body.home main{
    border-radius: 16px 16px 0 0;
}

body.home #workfor{
    min-height: 640px;
    height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body.home .workfor-container{
    width: min(100%, 650px);
    margin: 0;
    padding: 110px var(--container-padding) 100px;
    gap: 42px;
}

body.home #workfor h2{
    width: auto;
    max-width: 650px;
    font-size: clamp(44px, 4.6vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

body.home #workfor p{
    max-width: 520px;
    color: #25375e;
    font-size: 14px;
    line-height: 1.5;
}

body.home .counters{
    min-height: 700px;
    max-height: 860px;
    padding: 90px max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding))) 92px;
    align-items: end;
    gap: 46px;
    background-position: center 58%;
}

body.home .count{
    grid-row: auto;
    align-self: end;
    gap: 14px;
}

body.home .count_num{
    min-height: 0;
    font-size: clamp(50px, 5vw, 76px);
    font-weight: 600;
    letter-spacing: -0.04em;
}

body.home .count_unit{
    padding-bottom: 6px;
    font-size: 22px;
}

body.home .count_info{
    max-width: 230px;
    font-size: 12px;
    line-height: 1.45;
}

body.home .row{
    max-width: var(--container-width);
    padding: 116px var(--container-padding) 54px;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
}

body.home .info-tip{
    padding-top: 8px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

body.home .info-tip::before{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1745c8;
}

body.home .row h3{
    max-width: 660px;
    margin-bottom: 12px;
    font-size: clamp(38px, 3.4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

body.home .row p{
    max-width: 620px;
    font-size: 13px;
    line-height: 1.5;
}

body.home #news{
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 0 var(--container-padding) 120px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
}

body.home .themes{
    float: none;
    width: auto;
    margin: 0;
    padding: 40px 0 0;
    gap: 16px;
    font-size: 12px;
}

body.home .theme_title{
    font-size: 12px;
}

body.home .theme_items{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

body.home .themes .theme_item{
    padding: 7px 10px;
    border: 0;
    border-radius: 2px;
    background: #eef2f8;
    color: #31507f;
    font-family: 'Onest', sans-serif;
    font-size: 10px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

body.home .themes .theme_item:hover,
body.home .themes .theme_item.is-active{
    background: #1745c8;
    color: #fff;
}

body.home .list{
    min-width: 0;
    margin: 0;
    padding: 26px 0 0;
}

body.home .tabs{
    gap: 28px;
    margin-bottom: 26px;
    font-size: 15px;
    font-weight: 500;
}

body.home .new_wrapper{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 16px;
}

body.home .new_link{
    display: grid;
    gap: 8px;
}

body.home .new_image{
    aspect-ratio: 1.35 / 1;
    border-radius: 0;
    box-shadow: none;
}

body.home .new_image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.home .image_title{
    top: 9px;
    left: 9px;
    max-width: calc(100% - 18px);
    padding: 4px 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.92);
    color: #1745c8;
    font-size: 9px;
    line-height: 1.3;
}

body.home .new_date{
    font-size: 9px;
}

body.home .new p{
    color: #12264e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

body.home .video-bg{
    min-height: 660px;
}

body.home .video-bg-overlay{
    background: linear-gradient(90deg, rgba(4, 19, 54, 0.28), rgba(4, 19, 54, 0.02) 65%), linear-gradient(180deg, transparent 55%, rgba(4, 19, 54, 0.46));
}

body.home .video-info-block{
    width: 255px;
    margin-left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    padding: 18px;
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(3, 19, 56, 0.18);
}

body.home .video-titles{
    max-width: var(--container-width);
    margin: 0 auto;
    left: 50%;
    right: auto;
    width: calc(100% - (var(--container-padding) * 2));
    transform: translateX(-50%);
    padding: 0;
    font-size: 13px;
}

body.home .wrapper{
    max-width: var(--container-width);
    padding: 0 var(--container-padding) 120px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 14px;
}

body.home .card{
    gap: 8px;
}

body.home .card_image{
    border: 0;
    border-radius: 0;
    aspect-ratio: 0.82 / 1;
}

body.home .card_name a{
    font-size: 12px;
}

body.home .card_position a{
    font-size: 10px;
}

body.home .photo-swiper{
    max-width: none;
    padding: 0 0 120px;
}

body.home .photo-swiper .swiper-slide{
    gap: 8px;
}

body.home .photo-swiper .swiper-slide img{
    border-radius: 0;
    aspect-ratio: 1.48 / 1;
}

body.home .photo-swiper .swiper-slide span{
    padding: 0 12px;
    font-size: 10px;
}

body.home .partners-section,
body.home .calendar-section{
    background: #0638c4;
}

body.home .partners-section{
    padding: 100px 0 74px;
}

body.home .partners-header,
body.home .calendar-header,
body.home .calendar-table{
    max-width: var(--container-width);
}

body.home .partners-header{
    margin-bottom: 44px;
}

body.home .partners-header h3{
    max-width: 600px;
    font-size: clamp(38px, 3.5vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
}

body.home .partners-header p{
    max-width: 520px;
    font-size: 13px;
}

body.home .partners-track{
    grid-auto-columns: minmax(250px, 1fr);
    gap: 1px;
    padding: 0 max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
}

body.home .partner-card{
    min-height: 280px;
    padding: 26px;
    border-radius: 0;
    background: rgba(8, 45, 173, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.home .calendar-section{
    padding: 74px 0 104px;
}

body.home .calendar-header h3{
    font-size: clamp(36px, 3vw, 48px);
    letter-spacing: -0.035em;
}

body.home .calendar-row{
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.055);
}

.site-footer{
    position: relative;
    z-index: 2;
    background: #fff;
    color: #071b40;
    font-family: 'Onest', sans-serif;
    padding: 64px var(--container-padding) 22px;
}

.site-footer-main,
.site-footer-contacts,
.site-footer-bottom{
    width: min(100%, var(--container-width));
    margin: 0 auto;
}

.site-footer-main{
    display: grid;
    grid-template-columns: 1.25fr 0.65fr 1fr;
    gap: 72px;
    align-items: start;
    padding-bottom: 58px;
}

.site-footer-brand{
    max-width: 310px;
}

.site-footer-logo{
    display: block;
    width: 190px;
    margin-bottom: 18px;
}

.site-footer-logo img{
    display: block;
    width: 100%;
    height: auto;
}

.site-footer-brand p{
    max-width: 250px;
    color: #65738e;
    font-size: 11px;
    line-height: 1.5;
}

.site-footer-nav,
.site-footer-docs{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer-nav{
    gap: 9px;
}

.site-footer-nav a{
    color: #071b40;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.15;
}

.site-footer-docs{
    gap: 9px;
}

.site-footer-title{
    margin-bottom: 5px;
    color: #071b40;
    font-size: 12px;
    font-weight: 600;
}

.site-footer-docs a{
    color: #66748e;
    font-size: 11px;
    line-height: 1.35;
}

.site-footer-contacts{
    display: grid;
    grid-template-columns: 1.45fr 0.9fr 1.2fr 0.7fr;
    gap: 46px;
    padding: 34px 0;
    border-top: 1px solid #e3e8f0;
    border-bottom: 1px solid #e3e8f0;
}

.site-footer-contacts > div{
    min-width: 0;
}

.site-footer-contacts span{
    display: block;
    margin-bottom: 10px;
    color: #8a96aa;
    font-size: 9px;
}

.site-footer-contacts p,
.site-footer-contacts a{
    color: #071b40;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.site-footer-socials > div{
    display: flex;
    gap: 8px;
}

.site-footer-socials a{
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf2fb;
    color: #1745c8;
    font-size: 9px;
    font-weight: 700;
}

.site-footer-bottom{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    color: #9aa5b7;
    font-size: 9px;
}

@media (max-width: 1100px){
    body.home .nav_item{
        min-width: 128px;
        padding-inline: 14px;
    }

    body.home #news{
        grid-template-columns: 220px minmax(0, 1fr);
    }

    body.home .row{
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

body.home .tab{
    border: 0;
    background: transparent;
    font-family: 'Onest', sans-serif;
}

body.home .news_filter_status{
    min-height: 18px;
    margin: -14px 0 12px;
    color: #7a879c;
    font-size: 10px;
}

body.home .new_wrapper{
    transition: opacity 0.2s ease;
}

body.home .new_wrapper.is-loading{
    opacity: 0.38;
    pointer-events: none;
}

body.home .news_empty{
    grid-column: 1 / -1;
    min-height: 210px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e4e9f1;
    background: #f7f9fc;
    color: #12264e;
}

body.home .news_empty strong{
    font-size: 18px;
}

body.home .news_empty span{
    color: #75829a;
    font-size: 12px;
}

@media (max-width: 900px){
    body.home header{
        min-height: 680px;
    }

    .nav_toggle{
        display: block;
        align-self: center;
        margin-left: auto;
    }

    nav .nav_divider{
        position: absolute;
        top: 100%;
        right: var(--container-padding);
        width: min(310px, calc(100vw - (var(--container-padding) * 2)));
        max-height: calc(100svh - 96px);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        background: #fff;
        color: #071b40;
        border: 1px solid #e1e7f0;
        border-radius: 4px;
        box-shadow: 0 18px 40px rgba(3, 18, 48, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    nav .nav_divider.is-open{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav .nav_divider .nav_item{
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 16px 18px;
        gap: 4px;
        border-width: 0 0 1px;
        border-color: #e5eaf2;
    }

    nav .nav_divider .nav_item:last-child{
        border-bottom: 0;
    }

    nav .nav_divider .nav_item_subtitle,
    nav .nav_divider .nav_item_title{
        display: block;
        color: #071b40 !important;
    }

    body.home .new_wrapper{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home #workfor{
        min-height: 520px;
        grid-template-columns: 1fr;
    }

    body.home .workfor-container{
        grid-column: 1;
        padding: 90px var(--container-padding);
        margin-left: auto;
        margin-right: auto;
    }

    body.home .counters{
        min-height: 680px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: end;
    }

    body.home .row,
    body.home #news{
        grid-template-columns: 1fr;
    }

    body.home .row{
        gap: 18px;
        padding-top: 88px;
    }

    body.home .themes{
        padding-top: 10px;
    }

    body.home .list{
        padding-top: 10px;
    }

    body.home .video-bg{
        min-height: 560px;
    }

    body.home .wrapper{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-main{
        grid-template-columns: 1fr 0.7fr 1fr;
        gap: 36px;
    }

    .site-footer-contacts{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px){
    :root{
        --container-padding: 18px;
    }

    body.home nav{
        min-height: 64px;
        background: rgba(4, 20, 53, 0.2);
    }

    body.home .nav_logo{
        height: 64px;
    }

    body.home .nav_toggle{
        height: 64px;
    }

    body.home .lead_block{
        padding-bottom: 48px;
    }

    body.home .lead_block h1{
        font-size: clamp(38px, 11vw, 52px);
    }

    body.home #workfor h2{
        font-size: clamp(36px, 10vw, 50px);
    }

    body.home .counters{
        gap: 36px 18px;
        padding-bottom: 78px;
    }

    body.home .count_num{
        font-size: 44px;
    }

    body.home .row h3{
        font-size: 36px;
    }

    body.home #news{
        padding-bottom: 86px;
    }

    body.home .tabs{
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
    }

    body.home .new_wrapper{
        grid-template-columns: 1fr;
    }

    body.home .video-info-block{
        width: calc(100% - (var(--container-padding) * 2));
    }

    body.home .video-titles{
        grid-template-columns: repeat(2, 1fr);
    }

    body.home .wrapper{
        gap: 24px 10px;
    }

    body.home .partners-section{
        padding-top: 82px;
    }

    body.home .calendar-header{
        grid-template-columns: 1fr;
    }

    .site-footer{
        padding-top: 48px;
    }

    .site-footer-main,
    .site-footer-contacts{
        grid-template-columns: 1fr;
    }

    .site-footer-main{
        gap: 34px;
        padding-bottom: 40px;
    }

    .site-footer-contacts{
        gap: 28px;
        padding-block: 28px;
    }

    .site-footer-bottom{
        flex-direction: column;
        gap: 8px;
    }
}

.inner-header{
    height: auto;
    min-height: 0;
    width: 100%;
    display: block;
    color: inherit;
    justify-content: initial;
    position: relative;
    z-index: 20;
}

.news-single-hero{
    background: linear-gradient(126deg, #0f2ea6 0%, #2f58cc 100%);
    color: #fff;
    padding: 120px 0 74px;
}

.news-single-wrap{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.news-breadcrumbs{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.62em;
    opacity: 0.75;
    margin-bottom: 38px;
}

.news-breadcrumbs a{
    color: inherit;
    opacity: 0.9;
}

.news-single-title{
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-size: clamp(34px, 5.6vw, 68px);
    line-height: 1.05;
    font-weight: 600;
    max-width: 860px;
    margin: 0 auto 18px;
}

.news-single-date{
    text-align: center;
    font-size: 0.66em;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.news-single-content{
    background: #f4f5f7;
    color: #0b1a3a;
    padding: 62px 0 90px;
}

.news-single-body{
    max-width: 760px;
}

.news-single-cover{
    margin-bottom: 30px;
}

.news-single-cover img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.news-single-article{
    font-family: 'Manrope', sans-serif;
    font-size: 0.9em;
    line-height: 1.95;
    color: #1f2f57;
}

.news-single-article p{
    margin: 0 0 26px;
}

.news-single-article h2,
.news-single-article h3,
.news-single-article h4{
    font-family: 'Onest', sans-serif;
    line-height: 1.25;
    color: #0b1a3a;
    margin: 34px 0 14px;
}

@media (max-width: 700px){
    .news-single-hero{
        padding-top: 106px;
        padding-bottom: 58px;
    }

    .news-breadcrumbs{
        justify-content: flex-start;
        margin-bottom: 26px;
    }

    .news-single-title{
        text-align: left;
        margin-bottom: 14px;
    }

    .news-single-date{
        text-align: left;
    }

    .news-single-content{
        padding-top: 38px;
    }
}
