:root {
    --iu-letter-start: 0.3s;
    --iu-letter-step: 0.1s;
    --iu-letter-duration: 0.1s;
}

.site-logo {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo a.site-logo-img {
    flex-shrink: 0;
    width: 130px;
}

.site-logo-title {
    display: flex;
    flex-direction: column;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #0b3d91;
}

.site-logo-title-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    -webkit-text-stroke: 0.5px #ffffff;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, 0.35);
}

.preloaders {
    display: none !important;
    visibility: hidden !important;
}

.site-logo-title-overlay .letter {
    display: inline-block;
    opacity: 0;
}

.site-logo-title-overlay > span {
    overflow: hidden;
}

.site-logo-title-overlay .letter.letter-in {
    animation: siteLogoLetterIn var(--iu-letter-duration) cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: var(--letter-delay, 0s);
}

@keyframes siteLogoLetterIn {
    0% {
        opacity: 0;
        transform: translateY(110%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.single_footer > a > img {
    max-width: 160px;
    height: auto;
}

.iu_gallery {
    margin-top: 10px;
}

.iu_gallery_item {
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    background: #1a2237;
}

.iu_gallery_item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.iu_gallery_item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(11, 61, 145, 0.6);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.iu_gallery_item .iu_zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    background: #35ac39;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.iu_gallery_item:hover img,
.iu_gallery_item:focus-visible img {
    transform: scale(1.07);
}

.iu_gallery_item:hover::after,
.iu_gallery_item:focus-visible::after {
    opacity: 1;
}

.iu_gallery_item:hover .iu_zoom,
.iu_gallery_item:focus-visible .iu_zoom {
    opacity: 1;
}

/* Mobile menu arrow icons.
   The original theme images (img/back.png, img/next.png) are no longer hosted anywhere,
   so the same icons are loaded from the jQuery-Simple-MobileMenu package on jsDelivr. */
.sm_menu_outer .mobile_menu li.back a {
    background-image: url("https://cdn.jsdelivr.net/npm/jquery-simple-mobilemenu@2.0.1/dist/images/back.png");
}

.sm_menu_outer.slide .mobile_menu li.hasChild > a {
    background-image: url("https://cdn.jsdelivr.net/npm/jquery-simple-mobilemenu@2.0.1/dist/images/next.png");
}

.sm_menu_outer.accordion .mobile_menu li.hasChild > a::before {
    background-image: url("https://cdn.jsdelivr.net/npm/jquery-simple-mobilemenu@2.0.1/dist/images/next.png");
}