@import url(/assets/shared/css/base-style.css);
@import url(header.css);
@import url(footer.css);

.blog-box {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

    .blog-box h2 {
        font-size: 30px;
        margin-bottom: 1em;
    }

.filtering-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
    min-width: 101%;
}

    .filtering-wrapper strong {
        width: 100%;
    }

    .filtering-wrapper .calendar-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

        .filtering-wrapper .calendar-wrapper button {
            width: 105px !important;
            min-width: 105px !important;
            max-width: 105px !important;
            height: 50px;
        }

.card-box {
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    height: 450px;
}

    .card-box.no-thumb {
        max-height: 190px !important;
    }

        .card-box.no-thumb .card-box-inner {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 130px;
        }

        .card-box.no-thumb .card-bottom-info span:first-child {
            text-align: right;
        }

        .card-box.no-thumb .card-bottom-info span:last-child {
            text-align: left;
        }

    .card-box strong {
        font-size: 16px;
        font-weight: 900;
        margin-top: 0.5em;
        margin-bottom: 2rem;
    }

    .card-box img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 250px;
        max-height: 250px;
        object-fit: contain;
        transition: 0.5s;
    }

        .card-box img:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .card-box .card-box-inner {
        width: 100%;
        padding: 25px 15px;
        height: 165px;
    }

        .card-box .card-box-inner a {
            display: block;
            margin-bottom: 0.5rem;
        }

        .card-box .card-box-inner p {
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }

    .card-box .card-bottom-info {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 15px;
        border-top: 1px solid var(--white-smoke-color);
        max-height: 55px;
        height: 55px;
    }

        .card-box .card-bottom-info > span {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: var(--gap-sm);
            color: var(--text-gray-color);
            font-size: 14px;
            flex: 1 1 auto !important;
            text-align: center;
            border-left: 1px solid var(--white-smoke-color);
        }

        .card-box .card-bottom-info span:last-child {
            border: none;
        }

.bg-white .card-box {
    background-color: var(--bg-color) !important;
}

    .bg-white .card-box .card-bottom-info,
    .bg-white .card-box .card-bottom-info span {
        border-color: #e3e5e7;
    }


.blog-list-box {
}

    .blog-list-box .blog-list-inner {
        background: var(--bg-white);
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    }

        .blog-list-box .blog-list-inner h5 {
            display: block;
            font-size: 16px;
            font-weight: 800;
            padding: 1rem;
            border-bottom: 1px solid var(--white-smoke-color);
        }

    .blog-list-box .blog-list-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 0.5rem;
        margin-bottom: 1rem;
    }

        .blog-list-box .blog-list-item .blog-thumb img {
            width: 100px;
            height: 100px;
            object-fit: cover;
        }

        .blog-list-box .blog-list-item .blog-content {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            gap: 4px;
            height: 100%;
        }

            .blog-list-box .blog-list-item .blog-content .title {
                font-size: 13px;
            }

            .blog-list-box .blog-list-item .blog-content .reg-time {
                display: flex;
                align-items: center;
                gap: var(--gap-sm);
                color: var(--text-gray-color);
                font-size: 12px;
            }

.ads {
    padding: 0 1rem 0 0;
    margin-bottom: 2rem;
}

    .ads img {
        width: 100%;
    }

    .ads .h300 {
        max-height: 300px !important;
    }

    .ads .h450 {
        max-height: 450px !important;
    }

.h-250 {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
}

.sidebar-container {
    position: relative;
}

    .sidebar-container .last-box {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }

/* =========================== Responsive =========================== */

@media (min-width: 768px) {
    .filtering-wrapper {
        flex-direction: row;
    }

        .filtering-wrapper strong {
            width: 410px;
        }
}

@media (max-width: 991.9px) {
}

@media (min-width: 992px) {

    .filtering-wrapper strong {
        width: 540px;
    }
}
