.wp-pagenavi {
    margin: 10rem auto 0;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 140%;
    display: flex;
    justify-content: center;
}

.wp-pagenavi>* {
    padding: 1.2rem;
    color: var(--primary-900);
    border-radius: 0.8rem;
    min-width: 35px;
    display: inline-block;
    text-align: center;
}

.wp-pagenavi>.current {
    background-color: #59bdef;
    color: white;
}

.nextpostslink {
    margin-left: 1rem;
}

.previouspostslink {
    margin-right: 1rem;
}

.hero__wrapper {
    z-index: 3;
}

.header__lang {
    position: relative;
    margin-right: auto;
    margin-left: 20px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;

}

.header__lang--current {
    position: relative;
    display: flex;
    align-items: center;
}

.header__lang--current::before {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    width: 14px;
    height: 14px;
    background-image: url(../img/ui/lang-arrow.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(-50%) rotate(0);
    transition: transform .3s;
}

.header__lang--current img {
    width: 24px !important;
    height: auto !important;
    margin-right: 6px;
}

.header__lang-dropdown {
    position: absolute;
    left: -6px;
    top: 100%;
    margin-top: 5px;
    border-radius: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: calc(100% + 40px);
    box-shadow: 0 3px 5px 5px rgba(0, 0, 0 , 0.07);
    background-color: var(--clr-default-100);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.header__lang-dropdown li.lang-item a {
    display: flex;
    align-items: center;
    padding: 3px 6px;
}

.header__lang-dropdown li.lang-item a img {
    width: 24px !important;
    height: auto !important;
}

.header__lang:hover .header__lang-dropdown,
.header__lang:focus .header__lang-dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}

.header__lang:hover .header__lang--current::before,
.header__lang:focus .header__lang--current::before {
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.3s;
}

.header .section__btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: 1rem;
}

.footer__form {
    position: relative;
}

.footer__item + .footer__item {
    margin-top: 5.5rem
}

.footer .menu-item>a {
    font-size: 1.6rem;
    color: var(--clr-default-100)
}

.footer__middle-list {
    display: grid;
    grid-gap: 3rem 5rem;
    grid-template-columns:repeat(3, 1fr);
    margin-right: 1.5rem;
    margin-left: 1.5rem
}

.wpcf7-spinner {
    background-color: #5b86e5;
    opacity: 0.75;
    width: 60px;
    height: 6px;
    padding: 1px;
    border: none;
    border-radius:3px;
    position: absolute;
    display: flex;
    left: 50%;
    margin-top: 15px;
    margin-left:  -30px;
    right: auto;
}

.events-speaker {
    padding-block: 7rem 7rem;
}

.events-speaker__wrapper {
    gap: 5rem
}
.events-speaker--second:before, .events-speaker--second:after {
    display: none;
}

.events-speaker--second {
    background: #fff;
}

.events-speaker--second .events-speaker__text,
.events-speaker--second .events-peaker__post,
.events-speaker--second .events-speaker__name,
.events-speaker--second .events-speaker__title
{
    color: var(--clr-default-800)
}

.speaker__img {
    margin-inline: 0;
}

.speaker__wrapper {
    gap: 5rem;
}

@keyframes spin_custom {
    from {transform: translateX(0);}
    50%  {transform: translateX(40px);}
    to {transform: translateX(0);}
}

.wpcf7-spinner::before {
    content: '';
    position: relative;
    background-color: #36d1dc;
    top: 0;
    left: 0;
    height: 4px;
    width: 20px;
    border: none;
    border-radius: 2px;

    animation-name: spin_custom;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
 }

/*.logo.logo-en a::before {*/
/*    background-image: url(../img/header/logo-light-nowar.svg);*/
/*}*/

/*.logo.logo-en a::after {*/
/*    background-image: url(../img/header/logo-dark-nowar.svg);*/
/*}*/

.logo a::before {
    background-image: url(../img/header/bt_logo_light.svg?v=1);
    opacity: 0;
    visibility: hidden;
    background-size: contain;
}

.logo a::after {
    background-image: url(../img/header/bt_logo_dark.svg?v=1);
    opacity: 1;
    visibility: visible;
    background-size: contain;
}
