.page-inner.press-inner .press-block {
    padding-bottom:0 !important;
}

.press-block {
    padding: 60px 0 45px !important;
}

.press-block header .fancybox {
    width:100%;
    height:100%;
    display:block;
}

.news-wrapper {
    padding: 45px 0 60px !important;
}

.articles-wrapper {
    padding: 65px 0 60px !important;
}

.publications-wrapper {
    padding: 65px 0 80px !important;
}

.press-block .wp-block-button__link {
    margin:13px 0 0 0;
}

.page-inner .wp-block-last-news {
    margin:80px 0 0 0;
}

.page-inner .press-block .wp-block-last-news {
    margin:0;
}

.wp-block-last-news .news,
.ymc-smart-filter-container .container-posts .post-custom-layout{
    justify-content: flex-start;
    font-family: inherit;
    background: 0;
    display: flex;
    gap: 40px 30px;
    flex-wrap:wrap;
    margin-bottom: 48px;
}

.wp-block-last-news article {
    max-width: 360px;
    box-shadow: 0px 30px 50px 0px #24226a0d;
    width: calc((100% - 60px)/3);
    display: flex;
    flex-direction: column;
}


.page-inner .wp-block-last-news article{
    flex-basis: calc((100% - 60px)/3);
    max-width: 360px;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
    font-size: initial;
    line-height: initial;
    color: initial;
    box-shadow: 0px 30px 50px 0px #24226a0d;
}

.wp-block-last-news.anim-active .news article {
    animation: fade-in-bottom .6s ease-in both;
}

.page-inner .wp-block-last-news .spiker article {
    flex-basis: calc((100% - 48px)/3);
    width: calc((100% - 48px)/3);
    position: relative;
    box-shadow: unset !important;
    padding: 0 12px;
    max-width: unset;
}

.wp-block-last-news article header {
    background: #fff;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 54px 0 #0000000f;
    height: 240px;
    position: relative;
    z-index: 10;
}


.page-inner .wp-block-last-news article header {
    height:200px;
}

.page-inner .press-block .wp-block-last-news .mediateka article header {
    height: 400px;
}


.page-inner .press-block .wp-block-last-news article header {
    background: #fff;
    background-position: 70%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 54px 0 #0000000f;
    height: 240px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.page-inner .spikery-wrapper.press-block .wp-block-last-news article header {
    height:380px;
    box-shadow: unset;
}

header .article-link {
    width:100%;
    height:100%;
    display:block;
}

.wp-block-last-news article .type {
    background: #fee7e3;
    color: #f55b41;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.4px;
    padding: 4px 8px;
    position: absolute;
    right: 8px;
    text-transform: uppercase;
    top: 8px;
}

.wp-block-last-news article header .block-border {
    background: #24226a;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    bottom: -4px;
    content: "";
    height: 4px;
    position: absolute;
    right: 0;
    width: 92%;
    z-index: 10;
}

.block-border.block-border_left {
    right: auto;
    left: 0;
}

.wp-block-last-news article .entry-content{
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0 5px 0 #0000000f;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 30px;
    position: relative;
    background: #fff;
    flex: 1 auto;
    height: auto;
}


.page-inner .wp-block-last-news article .entry-content {
    box-shadow: none;
    height: auto;
    padding: 30px 30px 30px;
    gap: 28px 0;
    flex: 1 0 auto;
    display: flex;
}

.page-inner .wp-block-last-news .spiker article .entry-content {
    gap:0;
    padding: 30px 30px 24px;
}

.page-inner .wp-block-last-news .mediateka article .entry-content {
    padding: 30px 30px 30px;
}

.sticky .entry-content {
    position:relative;
}

.sticky .entry-content:before {
    content:'';
    display:block;
    position:absolute;
    right: 30px;
    top: 32px;
    background:url(../../img/sticky-red.svg) 0 0 / 18px 18px no-repeat;
    width: 18px;
    height: 18px;
}

.single--date {
    display: flex;
    margin-bottom: 0;
    text-transform: none;
    font-family: 'Century Gothic Bold';
    font-size: 14px;
    line-height: 24px;
    padding: 0;
    align-items:center;
    color: #24226A;
}

.single--date span {
    color:#F55B41;
    margin:0 10px;
    position: relative;
    bottom: 2px;
}

.page-inner .wp-block-last-news article .entry-title {
    color: #24226A;
    font-size: 18px;
    line-height: 24px;
}

.page-inner .wp-block-last-news .spiker article .entry-title {
    font-family: 'Century Gothic Bold';
}

.page-inner .wp-block-last-news .mediateka article .entry-content p {
    font-size:18px;
    line-height:24px;
}

.wp-block-last-news article .entry-content a.article-link {
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    display: -webkit-box!important;
    font-size: 18px !important;
    line-height: 24px;
    margin-bottom: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: break-spaces;
    margin-top: 10px !important;
    text-decoration: none !important;
    color: #24226A !important;
}

.wp-block-last-news article footer {
    position: relative;
    z-index: 10;
}

.tags-wrapper {
    display:flex;
    gap:8px;
    justify-content:flex-start;
    flex-wrap:wrap;
    padding:0 35px 0 0;
}

.tags-wrapper a, .tags-wrapper span,
.ymc-smart-filter-container .container-posts .post-custom-layout .post-item .tags-wrapper a{
    height:23px;
    padding:0 10px;
    color: #24226A;
    font-size: 10px;
    font-family: 'Century Gothic';
    display: flex;
    justify-content:center;
    align-items:center;
    border:1px solid #F55B41;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 0;
}

.blue .tags-wrapper a, .blue .tags-wrapper span,
.blue .ymc-smart-filter-container .container-posts .post-custom-layout .post-item .tags-wrapper a {
    border:1px solid #24226A;
}

.yellow .tags-wrapper a, .yellow .tags-wrapper span,
.yellow .ymc-smart-filter-container .container-posts .post-custom-layout .post-item .tags-wrapper a{
    border:1px solid #FFC500;
}

.screen-reader-text {
    display:none;
}

.yellow .sticky .entry-content:before {
    background: url(../../img/sticky-yellow.svg) 0 0 / 18px 18px no-repeat;
}

.blue .sticky .entry-content:before {
    background: url(../../img/sticky-blue.svg) 0 0 / 18px 18px no-repeat;
}

.yellow .home-header h1 + .block-border {
    background: #FFC500;
}

.blue .home-header h1 + .block-border {
    background: #24226A;
}

.mediateka-wrapper {
    position:relative;
    padding: 68px 0 139px !important;
    margin: 0 0 -105px 0 !important;
}

.mediateka-wrapper:before {
    content:'';
    margin: 0 auto;
    height: 5px;
    background: #F55B41;
    display: block;
    border-radius: 5px;
    top: 0;
    position: absolute;
    left: calc(50% - 570px);
    right: 0;
    width: calc(50% + 570px);
}

.spikery-wrapper {
    padding: 60px 0 120px !important;
    margin: 0 0 -105px 0 !important;
}

.visual-spikery {display: flex;gap: 0 12px;margin: 29px 0 0;}

.visual-spikery button {
    align-items: center;
    background: #F05A42;
    border-radius: 5px;
    bottom: -27px;
    color: #F05A42;
    display: inline-flex;
    height: 56px;
    justify-content: center;
    right: auto;
    overflow: hidden;
    top: auto;
    transform: none;
    vertical-align: middle;
    width: 56px;
    z-index: 10;
}

.prev-spikery, .next-spikery {
    transform: scale(1) perspective(1px);
    transition-duration: .3s;
    transition-property: all;
}

.visual-spikery button:before, .visual-spikery button:before {
    background: #ebebf9;
    border-radius: 50%;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0);
    transition-duration: .4s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.1,0,.3,1);
    z-index: -10;
}

.wp-block-last-news .news.spiker {
    gap:20px;
    margin: 0 -12px;
    display:block;
}

.spiker-inner {
    display:flex;
    width:100%;
    height:100%;
    flex-direction:column;
    transform: perspective(600px) rotateY(0deg);
    backface-visibility: hidden;
    transition: transform .6s linear;
}

.spiker-text {
    /* display:none; */
    background:#24226a;
    padding: 30px 25px;
    overflow:auto;
    backface-visibility: hidden;
    position: absolute;
    transition: transform .6s linear;
    transform: perspective(600px) rotateY(180deg);
    width: calc(100% - 24px);
    left: 12px;
    height: 100%;
    border-radius: 5px;
}

.spiker article:hover > .spiker-inner {
    transform: perspective(600px) rotateY(-180deg);
}

.spiker article:hover > .spiker-text {
    transform: perspective(600px) rotateY(0deg);
}

.spiker-text p{
    color:#fff;
    margin: 0 0 15px 0;
    font-size:14px;
    line-height: 21px;
}

.wp-pagination-wrapper {
	width: 100%;
}

.search_page .wp-pagination-wrapper {
	margin-top:30px;
}

.paginate-links {
    margin-bottom: 77px !important;
    text-align: center;
    width: 100%;
    margin-top: 30px !important;
}

.paginate-links .page-numbers {
    border-color: #ebebf9;
    border-radius: 3px;
    border-width: 1px;
    font-size: 15px;
    padding: 4px 6px;
    border-style: solid;
}

.paginate-links .page-numbers.current {
    background: #24226a;
    color: #fff;
}

.nav-links a.prev:hover:before,
.ymc-smart-filter-container .pagination-numeric li a.prev:hover:before{
    border-right: 8px solid #fff;
}

.nav-links a.next:hover:before,
.ymc-smart-filter-container .pagination-numeric li a.next:hover:before{   
    border-left: 8px solid #fff;
}

.navigation.pagination, 
.ymc-smart-filter-container .pagination-numeric {
    margin: 0;
}

.nav-links,
.ymc-smart-filter-container .pagination-numeric {
    display:flex;
    gap: 0 10px;
}

.ymc-smart-filter-container .pagination-numeric li {
   margin:0; 
}

.nav-links a, .nav-links span,
.ymc-smart-filter-container .pagination-numeric li span.current,
.ymc-smart-filter-container .pagination-numeric li a{
    color: #24226A;
    font-size: 14px;
    line-height:16px;
    font-family: 'Century Gothic Bold';
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(36 34 106 / 20%);
    border-radius: 5px;
    position:relative;
}

.nav-links .dots {
    border:0;
}

.nav-links span.current, 
.nav-links a:hover,
.ymc-smart-filter-container .pagination-numeric li span.current,
.ymc-smart-filter-container .pagination-numeric li a:hover{
    color:#fff;
    background: #f55b41;
}

.blue .nav-links span.current, 
.blue .nav-links a:hover,
.blue .ymc-smart-filter-container .pagination-numeric li span.current,
.blue .ymc-smart-filter-container .pagination-numeric li a:hover {
    background: #24226A;
}

.yellow .nav-links span.current, 
.yellow .nav-links a:hover,
.yellow .ymc-smart-filter-container .pagination-numeric li span.current,
.yellow .ymc-smart-filter-container .pagination-numeric li a:hover {
    background:#FFC500;
}

.nav-links a.prev:before,
.ymc-smart-filter-container .pagination-numeric li a.prev:before{
    content:'';
    border: 6px solid transparent;
    margin: 0 8px 0 0;
}

.nav-links a.next:before,
.ymc-smart-filter-container .pagination-numeric li a.next:before{
    content:'';
    border: 6px solid transparent;
    margin: 0 0 0 8px;
}

.ymc-smart-filter-container .pagination-numeric li a.next, 
.ymc-smart-filter-container .pagination-numeric li a.prev {
    font-size:0;
}

.nav-links a.prev:before,
.ymc-smart-filter-container .pagination-numeric li a.prev:before{
    border-right: 8px solid #f55b41;
}

.nav-links a.next:before,
.ymc-smart-filter-container .pagination-numeric li a.next:before {   
    border-left: 8px solid #f55b41;
}

.yellow .nav-links a.prev:before,
.yellow .ymc-smart-filter-container .pagination-numeric li a.prev:before{
    border-right: 8px solid #FFC500;
}

.yellow .nav-links a.next:before,
.yellow .ymc-smart-filter-container .pagination-numeric li a.next:before {   
    border-left: 8px solid #FFC500;
}

.blue .nav-links a.prev:before,
.blue .ymc-smart-filter-container .pagination-numeric li a.prev:before {
    border-right: 8px solid #24226A;
}

.blue .nav-links a.next:before,
.blue .ymc-smart-filter-container .pagination-numeric li a.next:before {
    border-left: 8px solid #24226A;
}

.contacts-wrapper {
    position: relative;
    padding: 65px 0 90px !important;
}

.contacts-wrapper:before {
    content:'';
    margin: 0 auto;
    height: 5px;
    background: #F55B41;
    display: block;
    border-radius: 5px;
    top: 0;
    position: absolute;
    left: calc(50% - 570px);
    right: 0;
    width: calc(50% + 570px);
}

.smi-contacts {
    width:100%;
    background:#EBEBF9;
    margin: -10px 0 0 0;
    border-radius: 5px;
    padding: 25px 32px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    height: 77px;
    gap: 15px 25px;
}

.smi-text {
    font-size:18px;
    line-height:27px;
}

.smi-email {
    font-size:24px;
    line-height:27px;
    font-family: 'Century Gothic Bold';
    color: #F55B41;
}
