/* your styles go here */
/* Example site test */

.box-image-text .image {
    min-height: 190px;
    max-height: 190px;
}

.box-image-text .image img {
    max-height: 190px;
    margin: auto;
}

.box-simple {
    min-height: 230px;
}

.navbar .yamm-content .nav-mega-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .yamm-content .nav-mega-image img {
    margin: 0 auto;
}

.navbar .yamm-content .nav-mega-image--products img {
    transform: translateY(18px);
}

#copyright {
    padding: 12px 0;
    line-height: 1.5;
}

#copyright p {
    margin: 0;
}

@media (max-width: 991px) {
    #copyright {
        padding: 10px 0;
    }
}

.recent-posts-grid {
    display: flex;
    flex-wrap: wrap;
}

.recent-post-card {
    display: flex;
    margin-bottom: 30px;
}

.recent-post-card .box-image-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.recent-post-card .top .image {
    height: 210px;
    overflow: hidden;
}

.recent-post-card .top .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-card .content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.recent-post-title {
    margin-top: 0;
    margin-bottom: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.recent-post-title-link {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.recent-post-title-track {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    white-space: nowrap;
}

.recent-post-title-text,
.recent-post-title-gap {
    flex: 0 0 auto;
}

.recent-post-title-link.is-overflowing .recent-post-title-track {
    width: max-content;
    justify-content: flex-start;
    animation: recent-post-marquee 12s linear infinite;
}

.recent-post-card .intro {
    display: -webkit-box;
    overflow: hidden;
    max-height: calc(1.55em * 5);
    margin-bottom: 0;
    text-align: left;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.recent-post-card .read-more {
    margin-top: auto;
}

@keyframes recent-post-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .recent-posts-grid {
        display: block;
    }

    .recent-post-card {
        display: block;
        margin-bottom: 20px;
    }

    .recent-post-card .top .image {
        height: 190px;
    }
}
