#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
    border: none;
    margin: 0;
    padding: 0;
    line-height: 1;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.dropdown {
    display: flex !important;
    flex-direction: column !important;
}

.dropbtn {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.content-header-link {
    display: flex;
}

.lang-item {
	margin:0.3rem;
    width: 34px;
    display: block;
}

html {
    margin-top: 0 !important;
}

.mobile-lang select {
    margin-left: 24px;
    margin-right: 24px;
    width: 250px;
    height: 40px;
}

.elementor-widget:not(:last-child) {
    margin-bottom: 40px !important;
}

.hamburger-menu {
    display: none;
}

#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
}

#menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
}

#menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
}

.menu__btn {
    display: flex;
    align-items: center;
    position: absolute;
    top: 36px;
    left: 20px;

    width: 26px;
    height: 26px;

    cursor: pointer;
    z-index: 2;
}


.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;

    width: 100%;
    height: 2px;

    background-color: white;

    transition-duration: .25s;
}

.menu__btn > span::before {
    content: '';
    top: -8px;
}

.menu__btn > span::after {
    content: '';
    top: 8px;
}

.menu__box {
    z-index: 1;
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;

    width: 300px;
    height: 100%;

    margin: 0;
    padding: 80px 0;

    list-style: none;
    background: #193D64;

    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);

    transition-duration: .25s;
}

.menu__item {
    display: block !important;
    padding: 12px 50px !important;

    color: white !important;
    font-size: 20px !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    transition-duration: .25s !important;
}

.menu__item:hover {
    background-color: #CFD8DC;
}
.menu__item:focus {
    background-color: #CFD8DC;
}

a {
    text-decoration: none !important;
}

* {
    background-repeat: no-repeat;
    font-family: Montserrat;
}

body {
    overflow-x: hidden;
    height: 100%;
    margin: 0;
}

html {
    height: 100%;
}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.container {
    margin: 0 auto;
    width: 1192px;
}

.header {
    min-height: 124px;
    width: 100%;
    height: 124px;
    background: #193D64;
}

.footer {
    margin-top: auto;
    width: 100%;
    background: #193D64;
    height: 207px;
}

.contact-content {
	display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: calc(100vh - 207px);
    height: 100%;
    background-repeat: no-repeat;
    height: max-content;
    background-size: cover;
    width: 100%;
    background-image: url("img/bg.svg");
}
.univer{
	background-position: center;
	width: 100%;
    height: 200px;
    background-size: contain;
    margin: 60px 0px 60px 0px;
	background-image: url("img/univer.JPG");
}
.activity-description {
    margin-bottom: 50px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    width: 50%;
    text-decoration: none !important;
    color: #393E43;
}

.activity-block {
    padding: 23px;
    margin-top: 50px;
    height: max-content;
    background: #FFFFFF;
    box-shadow: 0px 20px 30px rgba(14, 36, 58, 0.1);
    border-radius: 10px;
}

.activity-block-additional {
    padding-left: 148px;
    padding-right: 148px;
    height: max-content;
    margin: 80px 0;
    background: #FFFFFF;
    box-shadow: 0px 20px 30px rgba(14, 36, 58, 0.1);
    border-radius: 10px;
}

.text-blue-block {
    margin-bottom: 80px;
    background: #EFF7FF;
    display: flex;
    width: 100%;
    padding-top: 38.5px;
    padding-bottom: 38.5px;
    text-align: center;
}
.text-blue-block-act {
    margin-bottom: -10px;
    background: #EFF7FF;
    display: flex;
	flex-direction: column;
    width: 100%;
    padding-top: 38.5px;
    padding-bottom: 38.5px;
    text-align: center;
}
.text-blue-block span {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #393E43;
    margin: auto;
    display: block;
    max-width: 636px !important;
}

.activity-block-photo {
    min-width: 503px;
    min-height: 383px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("img/railway-photo.png");
	border-radius: 10px;
}
.ofice_manager{
	background-image: url("img/IMG_7370.png");
}
.manager{
	background-image: url("img/IMG_7369.png");
}
.multimodal{
background-image: url("img/multimodal.png");
}
.tech{
background-image: url("img/tech.png");
}
.organization{
background-image: url("img/organization.png");
}

.activity-block-wrapper {
    display: flex;
}

.activity-block-title {
	margin:1rem 0;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #326D99;

}

.additional-block-wrapper {
    display: flex;
    justify-content: space-between;
}

.atameken-logo {
    margin: auto auto auto 0;
    background-repeat: no-repeat;
    background-image: url("img/atameken.svg");
    width: 128px;
    height: 128px;
    background-size: contain;

}

.additional-block-text {
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #252B42;
    width: 55%;
    margin-top: 31px;
    margin-bottom: 31px;
}

.activity-block-content {
    margin-left: 44px;
    display: flex;
    flex-direction: column;
}

.activity-block-element {
    margin: 1rem 1rem 1rem 45px;
    position: relative;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
}

.activity-block-element:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: -45px;
    width: 29.75px;
    height: 29.75px;
    background-image: url('img/human-icon.svg');
    background-size: contain;
}

.page-title {
    margin-bottom: 50px;
    padding-top: 30px;
    display: block;
    color: #0E243A;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 35px;
    line-height: 43px;
}

.contact-description-block {
    position: relative;
    width: 60%;
}

.social {
    width: 220px;
    bottom: 11%;
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
}

.social-wrapper {
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
}

.social-title {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #326D99;
}

.social-facebook {
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("img/facebook.svg");
}

.social-instagram {
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("img/insta.svg");
}

.social-whatsapp {
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("img/whatsapp.svg");
}

.social-telegram {
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("img/telegram.svg");
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
}

.page-decription {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    color: #326D99;
    flex: none;
    order: 0;
}

.card-wrap {
    margin-top: 24px;
    justify-content: space-between;
    display: flex;
}

.consolidation-img {
    margin-bottom: auto;
    margin-left: 52px;
    background-image: url("img/chart.svg");
    width: 72px;
    height: 72px;
    background-size: contain;
    margin-top: auto;
}

.quality-img {
    margin-bottom: auto;
    margin-left: 52px;
    background-image: url("img/zoom.svg");
    width: 72px;
    height: 72px;
    background-size: contain;
    margin-top: auto;
}

.competition-img {
    margin-bottom: auto;
    margin-left: 52px;
    background-image: url("img/columns.svg");
    width: 72px;
    height: 72px;
    background-size: contain;
    margin-top: auto;
}

.mission-card-text {
    margin-top: 40px;
    width: 75%;
}

.mission-card-text span {
    display: block;
    margin-top: 10px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;

    color: #393E43;


}

.mission-card-title {
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;

    color: #0E243A;
}

.card {
    padding: 50px;
    border-radius: 10px;
    background-color: white;
    width: calc(49% - 100px);
    height: calc(217px - 100px);
}

.email-img {
    background-repeat: no-repeat;
    background-position: center;
    margin: auto auto 15px;
    width: 54px;
    height: 54px;
    background-size: contain;
    background-image: url("img/email.svg");
}

.phone-img {
    background-repeat: no-repeat;
    background-position: center;
    margin: auto auto 15px;
    width: 54px;
    height: 54px;
    background-size: contain;
    background-image: url("img/phone.svg");
}

.card-title {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #393E43;
    text-align: center;
    width: 100%;

}

.card-info {
    display: block;
    text-decoration: none;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #393E43;
    text-align: center;
    width: 100%;
}

.map {
    box-shadow: 0px 0px 27px rgb(75 122 208 / 10%);
    padding: 40px;
    border-radius: 10px;
    background-color: white;
    width: 32%;
}

.map-inner {
    height: 316px;
}

.map-title {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #393E43;
    margin: 24px auto auto;
    width: 90%;
    text-align: center;
}

.mission-card {
    display: flex;
    justify-content: space-between;
    background: #FFFFFF;
    box-shadow: 0px 20px 30px rgba(14, 36, 58, 0.1);
    border-radius: 10px;
    margin: auto auto 30px;
    width: 565px;
    height: 155px;
}

.logo {
    margin-top: 20px;
    width: 271px;
    padding: 0 8px;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #FFFFFF;
}

.header-wrapper {
    height: 68px;
    display: flex;
    justify-content: space-between;
}

.item {
    min-height: 52px;
    margin-top: 20px;
    margin-bottom: auto;
    display: block;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}

.train-logo {
    margin-bottom: 14px;
    background-image: url("img/logo.png");
    width: 60px;
    height: 46px;
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-wrapper {
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.logo-wrapper {
    margin: auto 0;
    width: 16%;
    display: flex;
    flex-direction: column;
}

.logo-wrapper span {
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.1px;
    color: #FFFFFF;
}

.footer-social-wrapper {
    width: 13%;
    margin: auto 0;
    display: flex;
    justify-content: space-between;
}

.nav-links-wrapper {
    margin: auto 0;
    width: 58%;
    display: flex;
    justify-content: space-between;
}

.footer-twitter {
    background-repeat: no-repeat;
    background-image: url("img/twitter.svg");
    background-size: contain;
    width: 31.25px;
    height: 31.25px;
}

.footer-facebook {
    background-repeat: no-repeat;
    background-image: url("img/facebook-white.svg");
    width: 31.25px;
    height: 31.25px;
}

.footer-linkedin {
    background-repeat: no-repeat;
    background-image: url("img/linkedIn.svg");
    width: 31.25px;
    height: 31.25px;
}

.content-main {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 700px;
    background-image: url("img/mainBanner.svg");
}

.header-main-additional {
    text-align: start;
    background: #18406B;
    width: 100%;
    height: 55px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 55px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.content-header {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
}

.content-header-additional {
    width: 25%;
    display: flex;
    justify-content: space-between;
}

.content-header-links {
    width: 50%;
    display: flex;
    justify-content: space-between;
}

.content-header-link {
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}

.main-page-title {
    margin-top: 100px;
    width: 55%;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    line-height: 49px;
    color: #FFFFFF;
}

.main-page-title-button {
    margin-top: 44px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 52px;
    color: #305781;
    background: white;
    mix-blend-mode: normal;
    border-radius: 10px;
    width: 314px;
    height: 52px;
    border: unset;
}

.main-page-title-container {
    position: relative;
}

.train-banner {
	background-position:center;
    background-repeat: no-repeat;
    right: 0;
    position: absolute;
    background-size: contain;
    background-image: url("img/train-banner.svg");
    width: 683px;
    height: 447px;
}

.main-page-title-cards {
    margin-top: 257px;
    display: none;
    justify-content: space-between;
}

.main-page-title-card {
    display: flex;
    flex-direction: column;
    width: 276px;
    height: 249px;
    background: #FFFFFF;
    border-radius: 10px;
}

.main-page-title-card-human-image {
    margin: 22px auto 10px;
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("img/human-group.svg");
}

.main-page-title-percent {
    margin: 0 auto 10px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    line-height: 57px;
    letter-spacing: 0.2px;
    color: #326D99;
}

.main-page-title-text {
    margin-left: 10px;
    margin-right: 10px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.1px;
    color: #7A7A7A;
}

.main-page-block-white {
    margin-top: 80px;
}

.main-page-title-Blue {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 35px;
    line-height: 43px;
    color: #326D99;
}

.more-news {
    display: block;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 24px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #326D99;
}

.more-news:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: -33px;
    width: 23px;
    height: 6px;
    background-image: url('img/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.main-page-space-between-title {
	width:100%;
    display: flex;
    justify-content: space-between;
}

.filter-wrapper {
    margin-top: 47px;
    display: flex;

    width: 70%;
}

.filter-button {
    margin-right: 20px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    padding: 20px 40px;
    height: 62px;
    color: #326D99;
    background: #FBFBFB;
    border: 1px solid #326D99;
    box-sizing: border-box;
    border-radius: 10px;
}

.news-block {
    margin-top: 65px;
    display: flex;
    flex-wrap: wrap;
	margin-bottom: 30px;
}

.news {
	overflow:hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    margin: 10px 7px;
    background: #FFFFFF;
    box-shadow: 8px 14px 17px rgba(52, 63, 104, 0.08);
    border-radius: 10px;
    width: 32%;
}

/*.news:nth-child(2){*/
/*    background: #EFF7FF;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/
.news-title {
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #082C54;
}

.news-text {
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    margin: auto 33.5px;
    color: #082C54;
}

.news-img {
    margin: 0.5px -9.5px 30px;

}

.news-date {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #305781;
    margin: auto 33.5px 30px;
    margin-top: auto;

}

.subscribe-title {
    margin: auto 0 auto 50px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.1px;
    color: #326D99;
}

.kl {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14%;
    height: 78px;
    overflow: hidden;
    padding: 21px;
    border-radius: 10px;
    margin: 10px 109px 0px 0px;
}

@media (max-width: 768px) { .kl { display: none !important; } }

.kl img {
	max-width: 100%;
    max-height: 100%; 
    object-fit: contain; 
}

.subscribe-block {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    background: #EFF7FF;
    border-radius: 10px;
    width: 100%;
    height: 118px;
    margin-top: 60px;
    align-items: center;
}

.owl-nav {
    display: none !important;
}

.subscribe-wrapper {
    display: flex;
    margin: auto 50px auto 0;
}

.subscribe-text {
    padding: 0 0 0 20px;

    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.2px;
    color: #326D99;

    display: block;
    max-height: 58px;
    width: 300px;
}

.subscribe-button {
    display: block;
    height: 58px;
    width: 159px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    background: #326D99;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    border-radius: 0px 5px 5px 0px;

}
.inf-img-size {
	width: 924px;
}
.association-card {
	padding:0 20px;
    display: flex;
    flex-direction: column;
    margin: 40px 17.5px;
    height: 205px;
    background: #FFFFFF;
    box-shadow: 0px 0px 53px rgba(52, 63, 104, 0.08);
    border-radius: 10px;
}

.association-img {
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    height: auto;
}

.association-name {
    margin: 25px auto auto auto;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    color: #305781;

}

.association {
    margin-bottom: 160px;
}

.footer-main {
	margin-top:auto;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    background: #082C54;
    height: 206px;
    width: 100%;
    min-height: 206px;

}

.footer-main-additional {
    margin: auto 0;
    text-align: center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

.logo-wrapper-main {
    margin-top: 35px;
    display: flex;
}

.logo-main-image {
	background-position:center;
    background-repeat: no-repeat;

    min-width: 95px;
    min-height: 95px;
    background-size: contain;
    background-image: url('img/logo.png');
}

.logo-main-text {
    max-width: 266px;
    margin-bottom: 1px;
    margin-top: 16px;
    padding-left: 24px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.1px;
    color: #FFFFFF;
    border-bottom: 1px solid white;
}

.container-footer-main {
    display: flex;
    justify-content: space-between;
}

.nav-link-main {
    font-family: Montserrat !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    text-align: center !important;
    color: #FFFFFF !important;
}

.nav-links-wrapper-main {
    width: 51%;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
}

.nav-links-wraper-main-items {
    display: flex;
    justify-content: space-between;
}

.social-items {
    width: 17%;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-top: 19px;
}

.social-facebook-main-footer {
    width: 42px;
    height: 42px;
    background-size: contain;
    background-image: url('img/FacebookLogo.svg');
}

.social-instagram-main-footer {
    width: 42px;
    height: 42px;
    background-size: contain;
    background-image: url('img/insta-footer-main.svg');
}

.social-whatsapp-main-footer {
    width: 42px;
    height: 42px;
    background-size: contain;
    background-image: url('img/WhatsappLogo.svg');
}

.social-telegram-main-footer {
    width: 42px;
    height: 42px;
    background-size: contain;
    background-image: url('img/telegramlogo.svg');
}


.document-wrapper {
    margin-bottom: 263px;
    display: flex;
    margin-top: 80px;
    flex-wrap: wrap;
}

.document-item {
    margin: 12.5px;
    box-shadow: 0px 20px 30px rgba(14, 36, 58, 0.1);
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 31%;
    height: 182px;
    background-size: cover;
    background-image: url('./img/railway-group.svg');
}

.document-item-title {
    margin: 20px 20px 30px;
    display: block;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #082C54;
}

.doc-download {
    position: relative;
    display: block;
    padding-right: 18px;
    margin: 0 auto auto;
    width: 140px;
    height: 40px;
    text-decoration: none;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 40px;
    color: #326D99;
    background: #EFF7FF;
    border-radius: 5px;
    text-align: center;
    transition-delay: 0.10s;
}

.doc-download:hover {
    border: none;
    background: #326D99;
    color: white;
    transition-delay: 0.10s;
}
.doc-download:focus {
    border: none;
    background: #326D99;
    color: white;
    transition-delay: 0.10s;
}


.doc-download:hover::after {
    transition-delay: 0.10s;
    border: none;
    background-image: url('./img/DownloadSimpleWh.svg');
}
.doc-download:focus::after {
    transition-delay: 0.10s;
    border: none;
    background-image: url('./img/DownloadSimpleWh.svg');
}

.doc-download::after {
    transition-delay: 0.10s;
    content: '';
    background-image: url('./img/DownloadSimple.svg');
    width: 24px;
    height: 24px;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translate(0, -50%);
}

.post-text {
    overflow: hidden;
    margin-bottom: 100px;
    padding: 40px;
    background: #FFFFFF;
    box-shadow: 0px 20px 30px rgba(14, 36, 58, 0.1);
    backdrop-filter: blur(11px);
    border-radius: 10px;
    width: 100%;
}

.all-post-content {
    margin-bottom: 133px;
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    background: #FFFFFF;
    box-shadow: 0px 0px 13px rgba(52, 63, 104, 0.08);
    border-radius: 10px;

}

.post-text p {
    overflow: hidden;
    max-width: 100%;
}

.post-text img {
    max-width: 100% !important;
    height: 100% !important;
}

.news-card {
    margin-top: 30px;
    min-height: 178px;
    height: max-content;
    padding-bottom: 36px;
    width: 100%;
    display: flex;
    text-decoration: none;
    border-bottom: 1px dashed #9EA6AE;
}

.news-img-all {
    width: 260px;
    max-width: 260px;
    height: 178px;
    max-height: 178px;
    width: auto;
}

.news-all-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.news-category-all {
    margin-bottom: 32px;
    margin-left: 32px;
    max-width: 588px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: #10B5D9;
}

.news-title-all {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    margin-left: 32px;
    max-width: 588px;
    color: #305781;
}

.news-date-all {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #305781;
    margin-top: auto;
    margin-left: auto;
}

.dropbtn {
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    display: block;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}


.dropdown {
    border: unset;
    background-color: unset;
    cursor: pointer !important;
    position: relative;
    display: inline-block;
    padding: 0;
    cursor: pointer !important;
    position: relative;
    display: inline-block;
}
.dropdown:hover  .dropdown-content {
       display: block;
}

.dropdown-content {
    top:44px;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 9999999;
}


.dropdown-content-footer {
    bottom: 19px;
    top: -291px;
}

.dropdown-content a {
    color: black!important;
    padding: 12px 16px!important;
    text-decoration: none!important;
    display: block!important;
}


.dropdown-content a:hover {
    background-color: #ddd!important;
}

.dropdown:hover .dropdown-content {
    display: block!important;
}
.dropdown-content a:focus {
    background-color: #ddd!important;
}

.dropdown:focus .dropdown-content {
    display: block;
}

.inf-button {
    display: block;
    height: 42px;
    width: 176px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    background: #326D99;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    border-radius: 5px 5px 5px 5px;
}

.inf-img {
    margin-top: 30px;
	border-radius: 10px;
	box-shadow: 8px 14px 17px rgb(52 63 104 / 8%);
}

.inf-button-block {
    padding-top: 4px;
    float: right;
    padding-left: 468px;
}
.inf-about-arfc-block {
	display: flex;
	justify-content: space-between;
}
.content-header-link-mobile{display:none;}


.photo:hover img {
  transform: scale(1.1);
}
img {
  transition: transform 0.25s;
}
.photo {
  overflow: hidden;
}
.photo {
  width: 400px;
  height: 350px;
  overflow: hidden;
}
img {
  transition: transform 0.50s!important;
}
.photo:hover img {
  transform: scale(1.1);
}
.mobile-item-logo-main{
display:none
}

.mobile-train-logo{
	margin-left:4rem;
    margin-right: 1rem;
    margin-top: auto;
    margin-bottom: auto;
	display:none
}

@media (max-width: 768px) { .mobile-train-logo { display: none !important; } }

.buttons-wrapper{
	margin:3rem 0;
display:flex;
	justify-content: space-between;

}
.button-item{
	display:flex;
	flex-direction:column;
	border-radius:30px;
	padding:11px;
	padding-bottom:2rem;
	background:#EFF7FF;
width:45%;
	height:200px;
}
.button-title{

	width:100%;
	text-align:center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;

    color: #305781;

}
.buttonInside{
	height:100%;
	margin-top:1rem;
display:flex;
justify-content: space-between;
}
.button-img{
width:50%;
}
.button-text-block{
width:50%;
	display:flex;
	flex-direction:column;
}
.button-icon-download-main{
background-image: url("img/DownloadSimple.svg");
	    height: 100px;
    width: 100px;
    background-size: contain;
    margin: auto;
}
.button-download-main{
	margin: 0 auto;
	margin-top:auto;
	display: block;
    height: 42px;
    width: 176px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    background: #326D99;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    border-radius: 15px 15px 15px 15px;
}
.button-img{
background-image: url("img/list.svg");
	    height: 100px;
    width: 100px;
    background-size: contain;
    margin: auto;
}
.lang-text{
display:block;
	width:32px;
	height:32px
}
.vacancies{
	background-position: center;
	    margin-right: 1rem!important;
    background-image: url(img/IMG_8149.jpg);
}
.wrapperContent {
    display: flex;
    padding: 10px
}

.activity-block-title {
    margin: 0 !important
}

.activity-block {
    padding: 0 !important;
}



.accordionWrapper {
    padding: 30px;
    background: #fff;
    float: left;
    width: 80%;
    box-sizing: border-box;
    margin: 10%;
    box-shadow: 0 1.5em 85px 0 rgba(0, 0, 0, 0.2);
}

.accordionItem {
    float: left;
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Open-sans', Arial, sans-serif;
}

.accordionItemHeading {
    display: flex;
    cursor: pointer;
    margin: 0;
    padding: 10px;
    background: #fff;
    color: #326D99;
    width: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    padding-left: 20px;
}

.close .accordionItemContent {
    height: 0px;
    transition: height 1s ease-out;
    -webkit-transform: scaleY(0);
    -o-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    float: left;
    display: block;


}

.button-download-main {
    padding: 0
}

.open .accordionItemContent {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    width: 100%;
    margin: 0;
    display: flex;
    -webkit-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: top;
    -o-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;

    -webkit-transition: -webkit-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease;
    -ms-transition: -ms-transform 0.4s ease;
    transition: transform 0.4s ease;
    box-sizing: border-box;
}

.activity-block-content {
    margin-left: 0 !important;
		margin-top: 22px;
        padding: 0 10px 0px 10px;
}

.open .accordionItemHeading {
    margin: 0px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;


    color: #fff;
    background: #326D99;
}

.open path {

    stroke: #fff;
}

.open svg {
    transform: rotate(180deg);

}

.close path {
    stroke: #326D99;
}
.item .lang-item:first-child {
  order:1;
}
.item .lang-item:nth-child(3) {
  order:2;
}

.content-header-link .lang-item:first-child {
  order:1;
}
.content-header-link .lang-item:nth-child(3) {
  order:2;
}

.aidar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
	box-shadow: 0px 20px 30px rgba(14, 36, 58, 0.1);
}

.aidar-text {
    flex: 2;
    padding: 0px 0 10px 0px;
}

.aidar-title {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #326D99;
}

.aidar-desc p {
    margin: 5px 0;
}

.aidar-button {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    background: #326D99;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.aidar-button:hover {
    background: #285578;
}

/* Ð”ÐµÐ»Ð°ÐµÐ¼ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ðµ Ð¿Ñ€Ð¸Ð¶Ð°Ñ‚Ñ‹Ð¼ Ðº Ð¿Ñ€Ð°Ð²Ð¾Ð¼Ñƒ ÐºÑ€Ð°ÑŽ */
.aidar-img {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: flex-end; /* ÐŸÑ€Ð¸Ð¶Ð¸Ð¼Ð°ÐµÑ‚ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÑƒ Ðº Ð¿Ñ€Ð°Ð²Ð¾Ð¼Ñƒ ÐºÑ€Ð°ÑŽ */
    align-items: stretch;
}

.aidar-img img {
    height: auto;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .aidar {
        flex-direction: column;
        text-align: center;
    }

    .aidar-button {
        width: 100%;
    }

    .aidar-img {
        width: 100%;
        height: auto;
        justify-content: center; /* Ð¦ÐµÐ½Ñ‚Ñ€Ð¸Ñ€ÑƒÐµÐ¼ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÑƒ Ð½Ð° Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ñ‹Ñ… */
    }

    .aidar-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


  :root {
    --primary: #193D64; /* тёмно-синий */
    --light: #eff7ff;   /* светлый голубой */
    --white: #ffffff;   /* белый */
  }

  * { box-sizing: border-box; }

  /* Можно убрать .wrap, если у вас свой контейнер */
  .wrap { max-width: 1200px; margin: 0 auto; }

  .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }

  /* Карточка раздела */
  .card {
    grid-column: span 12;
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(25, 61, 100, 0.06);
    padding: 18px 18px 8px;
    transition: transform 160ms ease, box-shadow 160ms ease;
    color: var(--primary);
            width: 100%;
        height: 100%;
  }
  .card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(25, 61, 100, 0.10); }

  @media (min-width: 700px) { .card { grid-column: span 6; } }
  @media (min-width: 1024px) { .card { grid-column: span 3; } }

  .card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

  /* Иконка документа: тёмно-синяя с бордером светлого цвета и слегка скруглённая */
  .doc-icon {
    width: 42px; height: 42px; display: grid; place-items: center;
    border: 2px solid var(--light);
    border-radius: 10px; /* немного скруглённый */
    flex: 0 0 auto;
    background: #fff;
  }
  .doc-icon svg { width: 24px; height: 24px; fill: var(--primary); }

  .card-title { font-size: 18px; font-weight: 700; color: var(--primary); }

  .divider { height: 1px; background: var(--light); margin: 12px 0; }

  /* Подразделы */
  .sublist { display: grid; gap: 8px; }

  .subitem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--light); border-radius: 12px; }

  .subitem-title { font-size: 14px; font-weight: 600; color: var(--primary); }

  .btn {
    appearance: none;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    line-height: 1;
    border-radius: 999px;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, transform 80ms ease;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn:hover { background: #102940; }
  .btn:active { transform: translateY(1px); }

  .btn--ghost { background: transparent; color: var(--primary); }
  .btn--ghost:hover { background: var(--light); }

  /* Нижняя панель карточки */
  .card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--light); }

  .muted { color: #5c7ca1; font-size: 12px; }

.team-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
/* .team-card {  наследует базовый стиль .card } */
.team-row { display: flex; align-items: flex-start; gap: 14px; }
@media (max-width: 768px) { .team-row { display: block !important; } }
.team-photo { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #fff; flex: 0 0 84px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-info { flex: 1; min-width: 0; }
.team-name { font-weight: 700; font-size: 16px; color: var(--primary); }
.team-role { font-weight: 600; font-size: 13px; color: #5c7ca1; margin-top: 2px; }
.team-desc { font-size: 14px; color: var(--primary); margin-top: 6px; }


.prose { color: var(--primary); font-size: 15px; }
.prose p { margin: 0 0 10px; }
.prose ul { margin: 8px 0 0 18px; padding: 0; }
.prose li { margin: 6px 0; }


.form { display: grid; gap: 12px; margin-top: 14px; }
.field { display: grid; gap: 6px; }
.label { font-weight: 600; color: var(--primary); font-size: 13px; }
.input { width: 100%; background: #fff; border: 2px solid var(--light); border-radius: 12px; padding: 10px 12px; color: var(--primary); font-size: 14px; }
.input::placeholder { color: #7a93b2; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(25,61,100,0.12); }


@media (min-width: 780px) {
.form.two-col { grid-template-columns: repeat(2, 1fr); }
.form.two-col .full { grid-column: 1 / -1; }
}

.news-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.news-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
@media (min-width: 700px) { .news-row { grid-template-columns: 180px 1fr; gap: 16px; } }
@media (max-width: 768px) { .news-row { display: block !important; } }

.news-media { width: 100%; height: 80px; border: 2px solid var(--light); border-radius: 12px; overflow: hidden; background: #fff; }
@media (min-width: 700px) { .news-media { height: 120px; } }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }


.news-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-top: -2px; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { text-decoration: underline; }


.news-excerpt { font-size: 14px; color: var(--primary); margin-top: 6px; }


.news-meta { margin-top: 8px; font-size: 12px; color: #5c7ca1; }
.news-meta .cat { font-weight: 700; }

 .clamp-3{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

 .clamp-6{
    display:-webkit-box;
    -webkit-line-clamp:6;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

.news-list{ display: grid; gap: 24px; }


.news-detail { display: grid; gap: 14px; }
.news-hero { width: 100%; aspect-ratio: 16/9; border: 2px solid var(--light); border-radius: 16px; overflow: hidden; background: #fff; }
.news-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-h1 { font-size: clamp(20px, 3.2vw, 32px); font-weight: 800; color: var(--primary); margin-top: 4px; }
.news-meta { font-size: 13px; color: #5c7ca1; }
.news-meta .cat { font-weight: 700; }
.news-desc { font-size: 15px; color: var(--primary); line-height: 1.6; margin-top: 6px; }

/* Контейнер из трёх блоков в РЯД на flex */
.home-news-row { display: flex; gap: 18px; align-items: stretch; justify-content: space-between; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; margin-top: 20px; margin-bottom: 20px;}
.home-news-row::-webkit-scrollbar { height: 8px; }
.home-news-row::-webkit-scrollbar-thumb { background: var(--light); border-radius: 999px; }
@media (max-width: 768px) { .home-news-row { display: block !important; } }


/* Каждая карточка — вертикальная колонка */
.home-news-card { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--light); border-radius: 16px; box-shadow: 0 2px 10px rgba(25,61,100,0.06); color: var(--primary); width: 100%; }
.home-news-card { flex: 1 1 0; }
@media (max-width: 768px) { .home-news-card { margin-bottom: 10px; !important; } }

.home-news-media { width: 100%; aspect-ratio: 16/9; background: #fff; border-bottom: 2px solid var(--light); overflow: hidden; border-top-left-radius: 14px; border-top-right-radius: 14px; }
.home-news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }


.home-news-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; min-height: 160px; }
.home-news-title { font-size: 16px; font-weight: 700; margin: 0; color: var(--primary); }
.home-news-title a { color: inherit; text-decoration: none; }
.home-news-title a:hover { text-decoration: underline; }
.home-news-meta { font-size: 12px; color: #5c7ca1; }
.home-news-meta .cat { font-weight: 700; }
.home-news-excerpt { font-size: 14px; color: var(--primary); margin: 0; }


/* На очень узких экранах можно заскроллить по горизонтали, без переноса в столбик */
@media (min-width: 1024px) {
.home-news-body { min-height: 180px; }
}


    .rail-impact { 
      --bg: #ffffff; 
      --ink: #0F2743; 
      --brand: #326D99; 
      --muted: #5B6C7F; 
      --ring: rgba(25,61,100,.12);
      --radius: 18px;
      background: var(--bg); 
      color: var(--ink); 
      border-radius: var(--radius); 
      box-shadow: 0 8px 28px rgba(16,32,56,.12), 0 2px 6px rgba(16,32,56,.06);
      padding: 28px; 
      position: relative;
      overflow: hidden;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    }
    .ri-header { 
      align-items: center; 
      margin-bottom: 20px;
    }
    .ri-logo {
      inline-size: 40px; block-size: 40px; 
      border-radius: 50%; 
      background: var(--brand); 
      display: grid; place-items: center; 
      box-shadow: 0 0 0 6px var(--ring);
      overflow: hidden;
    }
    .ri-logo svg{ inline-size:22px; block-size:22px; fill:#fff; }
    .ri-title { 
      text-align: center; 
      font-size: clamp(18px, 1.6vw + 10px, 20px); 
      font-weight: 800; 
      letter-spacing: .2px; 
      line-height: 1.2; 
      color: var(--ink);
    }

    /* Двухколоночная сетка */
    .ri-grid { 
      display: grid; 
      grid-template-columns: 1.1fr .9fr; 
      gap: 20px; 
    }

    /* Карточки синего цвета */
    .ri-card { 
      background: var(--brand); 
      color: #fff; 
      border-radius: var(--radius); 
      padding: 18px 18px; 
      box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px rgba(25,61,100,.25);
      display: grid; 
      grid-template-columns: 36px 1fr; 
      gap: 12px; 
      align-items: start;
    }

    .ri-icon { inline-size: 36px; block-size: 36px; }
    .ri-card h3 { margin: 0; font-size: 25px; font-weight: 600; }
    .ri-card p { margin: 2px 0 0; font-size: 14px; opacity: .95; }

    /* Левая колонка */
    .ri-left { display: grid; gap: 16px; }

    .ri-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ri-stat { 
      background: var(--brand); color:#fff; border-radius: var(--radius); 
      padding: 16px; text-align: center; 
      display: grid; gap: 6px; align-content: center;
      box-shadow: 0 8px 20px rgba(25,61,100,.25);
    }
    .ri-stat .num { font-size: clamp(20px, 2.2vw + 8px, 30px); font-weight: 800; }
    .ri-stat .label { font-size: 13px; opacity: .9; }

    .ri-subtitle { font-weight: 800; color: var(--ink); margin: 4px 0 8px; letter-spacing: .3px; }

    /* Карта Казахстана (упрощённый плейсхолдер SVG) */
    .ri-map { 
      background: #fff; 
      border-radius: var(--radius); 
      box-shadow: 0 0 0 1px var(--ring) inset, 0 8px 24px rgba(16,32,56,.08);
      padding: 10px; 
    }
    .ri-map svg { width: 100%; height: auto; display: block; }
    .ri-map .cap { text-align: center; color: var(--muted); font-size: 12px; margin-top: 6px; }

    /* Нижняя левая сводка */
    .ri-left-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Правая колонка */
    .ri-right { display: grid; gap: 12px; }

    /* Адаптивность */
    @media (max-width: 960px){
      .ri-grid { grid-template-columns: 1fr; }
      .ri-left-bottom { grid-template-columns: 1fr; }
    }



    .map-wrap{
  display:block;
  justify-content:center;      /* по центру по горизонтали */
  align-items:center;          /* по центру по вертикали (если нужно) */
  /* убери строку ниже, если вертикальное центрирование не нужно */
  min-height: 60vh;            
}

.map-wrap svg{
  max-width:100%;
  height:auto;
  display:block;
}

/* Базовый цвет областей */
.map-wrap .pathMap{
  fill:#326D99 !important;     /* перекрываем inline fill у путей */
  stroke:#ffffff;              /* если нужен белый обвод */
  stroke-width:2;
  cursor:pointer;
  transition:fill .15s ease-in-out;
}

/* Наведение (и фокус для клавиатуры) */
.map-wrap .pathMap:hover,
.map-wrap .pathMap:focus{
  fill:#193D64 !important;
  outline:none;
}

/* Оставляем текст/подписи как есть (белые) */
.map-wrap .pathText{
  display: none;
}

.map-wrap .pathText:hover{
  fill:#193D64 !important;
}

.map-logos {
  display: flex;
  align-items: center;
  justify-content: center;   /* по центру */
  gap: 24px;                 /* расстояние между логотипами */
  padding: 16px 0 0;         /* отступ сверху от карты */
  flex-wrap: wrap;
}

:root {
--primary: #193D64; /* тёмно-синий */
--accent: #83e3f1; /* фирменный голубой */
--light: #eef6ff; /* светлый фон */
--text: #0f243a;
--white: #fff;
}
* { box-sizing: border-box; }
.edu-wrap { max-width: 1200px; margin: 0 auto; padding: 24px; }


/* ХЕРО-БЛОК: 2 колонки на flex */
.edu-hero { background: var(--white); border: 2px solid var(--light); border-radius: 16px; box-shadow: 0 6px 18px rgba(25,61,100,.06); overflow: hidden; }
.edu-hero__in { display: flex; gap: 22px; align-items: center; padding: 26px; }
.edu-left { flex: 1 1 130%; min-width: 0; }
.edu-right { flex: 1 1 44%; display: grid; place-items: center; }


.edu-h1 { margin: 0 0 10px; color: var(--primary); font-weight: 800; font-size: clamp(20px, 3.4vw, 36px); line-height: 1.15; }
.edu-lead { color: var(--text); font-size: 14px; line-height: 1.55; margin: 10px 0 18px; }


.btn { appearance: none; border: 2px solid var(--primary); background: var(--primary); color: var(--white); font-weight: 800; font-size: 14px; padding: 12px 16px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: transform .08s ease, background .15s ease; }

.btn:active { transform: translateY(1px); }
.btn--accent { border-color: var(--accent); background: var(--primary); color: #ffffff; }



.edu-photo { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; border-radius: 14px; border: 2px solid var(--light); overflow: hidden; background: linear-gradient(135deg, #c7f5fb, #e9faff); }
.edu-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* Нижний подблок: текст слева, кнопка справа */
.edu-cta { margin-top: 14px; background: var(--white); border: 2px dashed var(--light); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.edu-cta__text { color: var(--primary); font-weight: 700; font-size: clamp(14px,1.6vw,16px); }


@media (max-width: 860px) {
.edu-hero__in { flex-direction: column; padding: 20px; }
.edu-right { order: -1; }
.edu-photo { max-width: 100%; }
}

/* Курс-блок: 2 колонки — фото слева, контент справа */
.edu-course { margin-top: 28px; background: var(--white); border: 2px solid var(--light); border-radius: 16px; box-shadow: 0 6px 18px rgba(25,61,100,.06); overflow: hidden; }
.edu-course__in { display: flex; gap: 22px; align-items: stretch; padding: 26px; }
.edu-course__media { flex: 1 1 28%; }
.edu-course__pic { width: 100%; height: 100%; border-radius: 12px; border: 2px solid var(--light); overflow: hidden; background: linear-gradient(135deg, #c7f5fb, #e9faff); }
.edu-course__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edu-course__content { flex: 1 1 58%; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.edu-course__title { margin: 0; color: var(--primary); font-weight: 800; font-size: clamp(18px, 2.6vw, 28px); line-height: 1.2; }
.edu-course__subtitle { margin: 6px 0 4px; color: var(--text); font-weight: 800; font-size: 16px; }
.edu-course__list { margin: 0 0 4px 18px; padding: 0; color: var(--text); line-height: 1.5; }
.edu-course__meta { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-top: 4px; color: var(--primary); font-weight: 700; }
.edu-course__meta span { display: inline-flex; align-items: center; gap: 8px; background: var(--light); border-radius: 999px; padding: 8px 12px; }
.edu-course__actions { margin-top: 6px; }


@media (max-width: 860px) {
.edu-course__in { flex-direction: column; padding: 20px; }
.edu-course__pic { min-height: 220px; }
}

.home-news-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 в ряд */
  gap: 10px;
  margin-top: 12px;
}
.home-news-thumb{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;          /* аккуратная сетка превью */
  overflow: hidden;
  border-radius: 8px;
}
.home-news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px){
  .home-news-gallery{
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* на мобиле по 2 */
  }
}

.news-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 в ряд */
  gap: 12px;
  margin-top: 16px;
}
.news-gallery-item{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;          /* единая сетка превью */
  overflow: hidden;
  border-radius: 10px;
}
.news-gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 992px){
  .news-gallery{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .news-gallery{ grid-template-columns: repeat(2, 1fr); }
}

.news-desc p {
  margin: 0 0 1rem;      /* нормальные отступы абзацев */
}

.news-desc p iframe {
  display: block;        /* блоком, а не inline */
  width: 100%;
  aspect-ratio: 16 / 9;  /* чтобы не дёргалось по высоте */
  height: auto;
  border: 0;
}

/* если браузер поддерживает :has() — “растворяем” p вокруг iframe */
@supports(selector(:has(*))) {
  .news-desc p:has(> iframe) {
    display: contents;
    margin: 0;
  }
}

/* pagination */

/* Пагинация (Laravel: подходит и для Tailwind-вида, и для Bootstrap-структуры) */
.pagination-wrap { display:flex; justify-content:center; }
.pagination-wrap nav,
.pagination-wrap .pagination { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }

.pagination-wrap a,
.pagination-wrap span,
.pagination-wrap .page-link {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; height:38px; padding:0 12px;
  border:2px solid var(--light);
  border-radius:999px;
  background:#fff;
  color: var(--primary);
  font-weight:700; font-size:14px; line-height:1;
  text-decoration:none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .08s ease;
}

/* Ховер по ссылкам */
.pagination-wrap a:hover,
.pagination-wrap .page-link:hover { background: var(--light); }

/* Активная страница (Laravel рендерит <span> для текущей) */
.pagination-wrap span[aria-current="page"],
.pagination-wrap .active > span,
.pagination-wrap .active > a {
  background: var(--primary);
  color:#fff;
  border-color: var(--primary);
  cursor: default;
}

/* Отключённые (пред/след на краях) */
.pagination-wrap span[aria-disabled="true"],
.pagination-wrap .disabled > span,
.pagination-wrap .disabled > a {
  opacity:.45; cursor:not-allowed; background:#fff;
}

/* Кнопки «Назад/Вперёд» делаем капсулой */
.pagination-wrap a[rel="prev"],
.pagination-wrap a[rel="next"] { padding:0 14px; min-width: auto; }

/* Небольшой «клик» */
.pagination-wrap a:active { transform: translateY(1px); }

/* Узкие экраны: перенос и центрирование */
@media (max-width:560px){
  .pagination-wrap nav,
  .pagination-wrap .pagination { gap:6px; }
  .pagination-wrap a, .pagination-wrap span, .pagination-wrap .page-link { height:36px; min-width:36px; padding:0 10px; }
}


/* форма как вступить*/

/* Дроп-зона для файлов (в стиле карточек/инпутов) */
.file-drop {
  position: relative;
  border: 2px dashed var(--light);
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px 12px;
  color: var(--primary);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.file-drop:hover { background: #fafdff; }
.file-drop.is-dragover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25,61,100,.12);
}

/* Внутренний контент дроп-зоны */
.file-drop__label { display:flex; gap:10px; align-items:center; cursor:pointer; }
.file-drop__icon {
  width:40px; height:40px; display:grid; place-items:center;
  border:2px solid var(--light); border-radius:10px; flex:0 0 auto; background:#fff;
}
.file-drop__icon svg { width:20px; height:20px; fill: var(--primary); }
.file-drop__text { display:flex; flex-direction:column; gap:4px; }
.file-drop__title { font-weight:700; font-size:14px; }
.file-drop__hint { font-size:12px; color:#5c7ca1; }

/* Список выбранных файлов */
.file-list { margin-top:10px; display:grid; gap:6px; }
.file-item {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:#fff; border:1px solid var(--light); border-radius:10px; padding:8px 10px;
  font-size:13px; color:var(--primary);
}
.file-item__name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-item__meta { font-size:12px; color:#5c7ca1; }

/* Сообщения об ошибках/успехе (если ещё не стилизованы) */
.alert.success { 
    margin-top: 10px;
    padding: 10px 12px;
    color: #082c54;
 }
.alert.error   { 
        margin-top: 10px;
    padding: 10px 12px;
    color: #850202;
 }

.modal[hidden]{display:none}
.modal{position:fixed;inset:0;z-index:50}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.modal__dialog{position:relative;max-width:640px;margin:5vh auto;background:#fff;border-radius:12px;padding:20px}
.modal__close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}

  .file-min {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border: 2px dashed var(--light);
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
  }
  .file-min:hover { background: #f9fbff; }
  .file-min__ico { width: 24px; height: 24px; flex: 0 0 24px; }
  .file-min__ico svg { width: 100%; height: 100%; fill: var(--primary); }
  .file-min__text { font-size: 14px; font-weight: 600; }
  .file-min input[type="file"]{
    position:absolute; inset:0; opacity:0; cursor:pointer; /* кликается весь блок */
  }

.modal[hidden]{display:none}
.modal{position:fixed;inset:0;z-index:50}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.modal__dialog{position:relative;max-width:640px;margin:5vh auto;background:#fff;border-radius:12px;padding:20px}
.modal__close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}

.edu-course__desc {
    color: #193d64;
}

  .docs-title{font-size:22px;font-weight:700;margin:0 0 14px}
  .docs-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
  .doc-item{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;
    box-shadow:0 4px 12px rgba(0,0,0,.04)
  }
  .doc-left{display:flex;align-items:center;gap:12px;min-width:0}
  .doc-icon{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#eff7ff;border:1px solid #e6f3f6}
  .doc-meta{min-width:0}
  .doc-name{
    display:inline-block;max-width:100%;font-weight:600;color:#0b2a40;text-decoration:none;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
        word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
  }
  .doc-name:hover{color:#08314e}
  .doc-sub{font-size:13px;color:#6b7280;display:flex;align-items:center;gap:6px}
  .doc-sub .dot{opacity:.6}
  .doc-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:8px 12px;border-radius:10px;font-weight:600;text-decoration:none;white-space:nowrap
  }
  .btn.primary{background:#193d64;border:1px solid #83e3f1;color:#ffffff}
  .btn.primary:hover{box-shadow:0 6px 18px rgba(131,227,241,.35)}
  .btn.ghost{background:#fff;border:1px solid #cfeef4;color:#0b2a40}
  .btn.ghost:hover{background:#f6fdff}
  @media (max-width:640px){
    .doc-item{flex-direction:column;align-items:flex-start}
    .doc-actions{width:100%}
    .doc-actions .btn{flex:1}
  }

