:root {
    --color-snow-white: #f3f5fc;
    --color-sky-blue: #d0dbff;
    --color-azure: #5173c7;
    --color-coral-red: #df4c53;
    --color-red-hover: #eb646a;
    --color-red-dark: #eb424a;
    --color-gray-light: #828284;
    --color-jet-black: #050509;
    --color-primary: #000d59;
    --color-white: #fff;
    --color-lightborder: #eaeeff;
    --color-border: #d3daf1;
    --color-gray: #333334;
    --color-blue: #3438c1;
    --secondary-blue: #1e319f;
    --secondary-purple: #6e40c9;
    --secondaty-brilliant: #288faf;
    --pastel-green: #dff2f8;
    --pastel-blue: #d0dbff;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    height: 100%;
}


body {
	font-family: 'SegoeUI', sans-serif;
    color: var(--color-jet-black);
    display: flex;
    flex-direction: column;
    height: 100%;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    width: 100%;
    z-index: 70;
    position: fixed;
    top: 0;
    margin: 0 auto;
    background: hsla(0, 0%, 100%, 0);
    transition: all .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease;
}

.header.scrolled {
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

.headerWrap {
    padding: 16px 0;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    gap: 8px;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
}

.logo {
    cursor: pointer;
    display: flex;
    gap: 8px;
    border-radius: 50px;
    padding: 8px 16px;
    box-shadow: 1px 3px 11px 0 rgba(0, 0, 0, .1);
    background: var(--color-white);
    justify-content: center;
    align-items: center;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.logoTitle{
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    color: var(--color-jet-black);
}

.navContainer {
    display: flex;
    border-radius: 50px;
    padding: 4px 8px;
    box-shadow: 1px 3px 11px 0 rgba(0, 0, 0, .1);
    background: var(--color-white);
    gap: 50px;
    align-items: center;
}

.headerNav {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 4px 0;
}

.headerNav a {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    padding: 4px 16px;
    color: var(--color-jet-black);
    white-space: nowrap;
}

.button {
    background: #e03434;
    color: var(--color-white);
    border-radius: 99px;
    padding: 12px 23px;
    height: 40px;
    border: none;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
}

.button:hover {
    background: var(--color-red-hover);
}

.button:focus {
    background: var(--color-red-dark);
    outline: none;
}
.hamburger {
    display: none;
}

.mob-navigation{
    display: none;
}

@media(max-width: 1100px) {
    .hamburger {
        cursor: pointer;
        border-radius: 16px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: .1s ease-in-out;
        box-shadow: 1px 3px 11px 0 rgba(0, 0, 0, .1);
        background-color: var(--color-white);
        color: #050509;
        border: 0;
    }

    
    .hamburgerOpen{
        display: block;
    }

    .hamburgerClose{
        display: none;
    }

    .hamburger.open .hamburgerOpen{
        display: none;
    }

    .hamburger.open .hamburgerClose{
        display: block;
    }

    .navContainer{
        display: none;
    }

    .mob-navigation{
        position: fixed;
        z-index: 50;
        max-width: 375px;
        background-color: #112a56;
        display: block;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform .3s ease;
        overflow: auto;
        padding: 15px;
        padding-top: 80px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .mob-navigation.open {
        transform: translateX(0);
    }

    .mob-navigation ul {
        margin: 0;
        padding: 0;
        color: #fff;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        min-height: 100%;
    }

    .mob-navigation li {
        list-style: none;
        margin-bottom: 36px;
    }
    
    .mob-navigation li a{
        font-weight: 500;
        font-size: 16px;
        line-height: 130%;
        text-align: center;
        color: #f9f9f9;
        transition: .3s ease-in-out;
        display: block;
    }
}

@media(max-width: 767px) {
    .mob-navigation{
        max-width: 100%;
    }
}


.footer {
    background: var(--color-primary);
}

.footerWrap{
    padding-top: 48px;   
}

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

.site-main{
    flex: 1;
}

.footerLogo{
    cursor: pointer;
    display: flex;
    gap: 16px;
    max-width: 370px;
    justify-content: center;
    align-items: center;
    padding-bottom: 28px;
}

.footerTitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--color-white);
}

.footerFlex {
    display: flex;
    border-bottom: 1px solid var(--color-azure);
    padding-bottom: 50px;
    column-gap: 16px;
}

.footerLeft{
    flex-shrink: 1;
}

.footerLeftTitle{
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footerRight {
    flex: 1;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 66px;
}

.footerRightFlex {
    display: flex;
}

.footerColumn {
    display: flex;
    flex-direction: column;
}

.footerLink {
    font-weight: 400;
    font-size: 16px;
    text-transform: capitalize;
    color: var( --color-sky-blue);
    margin-bottom: 16px;
    display: block;
}

.footerLink:hover {
    color: #fff;
}

.leftColumnItem{
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.leftColumnItem:last-child{
    margin-bottom: 0;
}

.leftColumnItem--phone{
    margin-top: 42px;
}

.footerInfo{
    max-width: 276px;
}

.svgWrapper{
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.leftColumnItemText{
    font-weight: 400;
    font-size: 16px;
    color: #f9f9f9;
}

.footerBot{
    display: flex;
    padding-bottom: 32px;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.footerCopyright{
    font-weight: 400;
    font-size: 16px;
    line-height: 165%;
    color: hsla(0, 0%, 100%, .7);
}

.footerSocial{
    display: flex;
    gap: 24px;
    align-items: center;
}

.footerLeftText{
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-white);
    margin-bottom: 16px;
    max-width: 190px;
}

@media(max-width: 767px) {
    .footerFlex{
        flex-direction: column;
        padding-bottom: 16px;
    }

    .footerRight{
        flex-direction: column;
        gap: 0;
        margin-bottom: 16px;
    }

    .leftColumnItem--phone{
        margin-top: 0;
    }

    .footerBot{
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .footerSocial{
        margin-bottom: 16px;
    }

    .footerLeftText{
        max-width: 100%;
    }
}
/* .admin-bar .site-main {
    margin-top: -46px;
} */
.site-main{
    padding-top: 136px;
    padding-bottom: 40px;
}

@media(max-width: 767px) {
    .site-main{
        padding-top: 120px;
    }
}

.blogHead{
    padding: 23px 32px;
    background-color: var(--color-snow-white);
    border-radius: 16px;
    margin-bottom: 24px;
}



.blogHead h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 56px;
    text-align: left;
    margin: 0;
}

@media(max-width: 767px) {
    .blogHead{
        padding: 16px;
    }

    .blogHead h1 {
        font-size: 32px;
        line-height: 42px;
    }
}

.subscribeForm{
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
    max-width: 446px;
}

.subscribeForm input {
    height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0 16px;
    width: 358px;
    max-width: 100%;
    flex: 1;
}

.subscribeForm input:focus {
    outline: none;
    border: 1px solid var(--color-gray-light);   
}

.subscribeForm .button {
    padding: 8px 16px;
}

.blogPosts {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.blog-item{
    width: calc(100% / 3 - 24px);
    margin: 0 12px;
    margin-bottom: 24px;
}



.blogImage {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 74.2%;
    display: block;
    transition: 0.3s ease;
}

.blogImage:hover {
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, .1);
}

.blogImage img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.blogTag{
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #000D5999;
    border: 1px solid #EBEEF3;
    padding: 6px 10px;
    color: #EBEEF3;
    border-radius: 4px;
}

.blogContent{
    padding: 16px;
}

.blogDate{
    color: #26262699;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 12px;
}

.blogTitle {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 56px;
    color: #262626;
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    margin-bottom: 12px;
}

.blogTitle:hover {
    text-decoration: underline;
}

.blogShortDesc{
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.loadMore{
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

@keyframes dot-keyframes {
    0% {
      opacity: 0.4;
      transform: scale(1, 1);
    }
  
    50% {
      opacity: 1;
      transform: scale(1.2, 1.2);
    }
  
    100% {
      opacity: 0.4;
      transform: scale(1, 1);
    }
}

.loadMore .loadingDots {
    display: none;
}

.loadMore.isLoading .loadingDots {
    display: flex;
}

.loadMore.isLoading .button {
    display: none;
}
  
.loadingDots {
    text-align: center;
    width: 100%;
    display: flex;
    gap: 4px;
    justify-content: center;   
}
  
.dot {
    animation: dot-keyframes 1.5s infinite ease-in-out;
    background-color: var(--color-coral-red);
    border-radius: 10px;
    display: inline-block;
    height: 15px;
    width: 15px;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    animation-delay: 1s;
}

@media(min-width: 1024px) {
    .blog-item:nth-child(5n + 1),  .blog-item:nth-child(5n + 2) {
        width: calc(100% / 2 - 24px);
    }

    .blog-item:nth-child(5n + 1) .blogImage,  .blog-item:nth-child(5n + 2) .blogImage {
        padding-bottom: 48.3%;
    }
}

@media(max-width: 1023px) {
    .blog-item{ 
        width: calc(100% / 2 - 24px);
    }
}

@media(max-width: 767px) {
    .blog-item{ 
        width: calc(100% / 1 - 24px);
    }
}


.events {
    margin-top: 60px;
}

.events h2 {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 400;
}

@media(max-width: 767px) {
    .events h2 {
        font-size: 32px;
    }
}

.events__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.events__item {
    display: flex;
    border-top: 1px solid #D3DAF1;
    padding-top: 16px;
    padding-left: 100px;
    position: relative;
}

.events__preview {
    position: absolute;
    top: -2px;
    left: 0;
    width: 132px;
    height: 132px;
    border-radius: 6px;
    overflow: hidden;
}

.events__preview img {
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.events__info {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    flex: 1;
}

.events__date {
    background-color: #fff;
    border-right: 1px solid #EAEEFF;
    min-height: 116px;
    padding: 32px 16px;
    text-align: center;
    min-width: 69px;
}

.events__date__month {
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
}

.events__date__day {
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}

.events__content {
    display: flex;
    flex-direction: column;
    max-width: 422px;
    gap: 8px;
}

.events__title {
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
}

.events__location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-azure);
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
}

.events__location:hover {
    text-decoration: underline;
}

.events__dates {
    display: flex;
    gap: 8px;
    align-items: center;

}

.events__more {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
}

.events__more a {
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--color-azure);
    transition: 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.events__more a:hover {
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, .1);
}

@media(max-width: 767px) {
    .events__date {
       position: absolute;
       left: 100px;
       top: 32px;
       height: 132px;
    }

    .events__item {
        padding-left: 0;
        flex-direction: column;
    }

    .events__preview {
        position: relative;
        min-width: 132px;
    }

    .events__info {
        position: static;
    }

    .events__more {
        position: absolute;
        top: 15px;
        right: 0;
        height: 132px;
        justify-content: center;
    }

    .events__content {
        margin-top: 15px;
    }
}

.subscribeForm__success__form {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000D5999;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.subscribeForm__success__form.show {
    display: flex;
}

.subscribeForm__success {
    padding: 28px;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 16px;
    max-width: 517px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.subscribeForm__success__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 8px;
    margin-top: 24px;
    text-align: center;
}

.subscribeForm__success__text {
    max-width: 405px;
    margin: 0 auto;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.subscribeForm__success .button {
    min-width: 100px;
}

.subscribeForm__success__close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
}