/* navbar */
.navbar-marketing {
    background: transparent;
}

.navbar-marketing.navbar-scrolled {
    background-color: var(--primary);
}
/* navbar - end */

/* header */
.main-header {
    padding-top: 180px;
    padding-bottom: 32px;
    background: linear-gradient(rgba(62, 62, 62, 80%), rgba(62, 62, 62, 80%));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 56px;
    height: 440px;
}

.main-header .container-fluid {
    text-align: center;
}

.main-header .header-1 {
    font-weight: 700;
    color: var(--white);
    font-size: 40px;
    margin-bottom: 16px;
}

.main-header .body-1 {
    color: var(--white);
    margin-bottom: 32px;
}

.main-header input {
    height: 56px;
    border-radius: 8px;
    font-size: 16px;
}

.main-header .custom-primary {
    background-color: var(--primary);
    position: absolute;
    top: 4px;
    right: 4px;
    border-radius: 8px;
}

.main-header .custom-primary i {
    font-size: 20px;
}
/* header - end */
.article-container {
    margin-top: 56px;
    margin-bottom: 56px;
}

/* button */
.btn {
    padding: 8px 24px;
    border: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: all 200ms ease;
    font-weight: 600;
}
.btn.search-btn {
    background-color: var(--primary);
    color: var(--white);
}
/* button -  ned */

.section-header .heading-2 {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
}

/* search-article */
.article-search-form {
    position: relative;
}

.article-search-form .fa-search {
    position: absolute;
    top: 18px;
    left: 12px;
}

.article-search-form .search-btn {
    position: absolute;
    right: 8px;
    top: 5px;
}

.article-search-form .search-input {
    height: 49px;
    padding-left: 34px;
}
/* search-article - end */

.section-body .last-update-article-card {
    box-shadow: none;
    border: 1px solid var(--nt-03);
    border-radius: 8px;
    transition: all 200ms;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.section-body .last-update-article-card:hover {
    border-color: var(--primary);
    box-shadow: 0px 12px 16px -4px rgba(0, 0, 0, 0.1);
}

.card-last-update-article .last-update-article-thumbnail {
    /* border-radius: 8px; */
    width: 100%;
    height: 474px;
    object-fit: cover;
}

.section-body .last-update-article-card .article-category {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.section-body .last-update-article-card .article-name {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 16px;
    transition: all 200ms ease;
}
.section-body .last-update-article-card:hover .article-name {
    color: var(--text-color);
}

.section-body .last-update-article-card .article-desc {
    color: var(--nt-07);
    margin-bottom: 32px;
}

.last-update-article .article-creator-container {
    display: flex;
    align-items: center;
    column-gap: 16px;
}

.last-update-article .article-creator-container .avatar-image {
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.last-update-article .article-creator-container .creator-name {
    margin-bottom: 8px;
    color: var(--nt-11);
    font-weight: 700;
}

.section-body .articles {
    margin-top: 32px;
    row-gap: 32px;
}

.section-body .article-item .card {
    box-shadow: none;
    border: 1px solid var(--nt-03);
    border-radius: 8px;
    transition: all 200ms ease;
}
.section-body .article-item .card:hover {
    border-color: var(--primary);
    box-shadow: 0px 12px 16px -4px rgba(0, 0, 0, 0.1);
}

.section-body .article-item .card .article-thumbnail {
    margin: 16px;
    border-radius: 8px;
    width: 245px;
    height: 224px;
    object-fit: cover;
}
.section-body .article-item .card .article-category {
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.section-body .article-item .card .article-name {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 16px;
    transition: all 200ms ease;
}
.section-body .article-item .card:hover .article-name {
    color: var(--text-color);
}

.section-body .article-item .card .article-desc {
    margin-bottom: 24px;
}

.section-body .article-item .card .article-creator-container {
    display: flex;
    align-items: center;
    column-gap: 16px;
}

.section-body .article-item .card .article-creator-container .avatar-image {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.section-body .article-item .card .article-creator-container .creator-name {
    margin-bottom: 4px;
    color: var(--nt-11);
    font-weight: 700;
}
.section-body .article-item .card .article-creator-container .creator-name {
    margin-bottom: 4px;
    color: var(--nt-11);
    font-weight: 700;
}

.section-body .pagination {
    font-family: var(--font-1);
    column-gap: 16px;
}

.section-body .pagination .page-link {
    border: none;
    color: var(--nt-07);
    border-radius: 8px;
}

.section-body .pagination .page-item.active .page-link {
    background-color: var(--nt-03);
    color: var(--primary);
}

.section-body .pagination a[aria-label="Previous"],
.section-body .pagination a[aria-label="Next"] {
    border: 1px solid var(--nt-03);
    border-radius: 8px;
    transition: all 200ms ease;
}

.section-body .pagination a[aria-label="Previous"]:hover,
.section-body .pagination a[aria-label="Next"]:hover {
    background-color: var(--primary);
    color: var(--white);
}

@media (min-width: 768px) and (max-width: 997.98px) {
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-body .articles {
        row-gap: 32px;
    }

    .section-body .last-update-article-card {
        flex-direction: column;
    }

    .section-body .last-update-article-card .last-update-article-thumbnail {
        margin: 0;
        width: 100%;
        height: 300px;
        border-radius: 0;
        object-fit: cover;
    }
    .section-body .article-item .card .article-thumbnail {
        width: auto;
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-body .articles {
        row-gap: 32px;
    }

    .section-body .last-update-article-card {
        flex-direction: column;
    }

    .section-body .last-update-article-card .last-update-article-thumbnail {
        margin: 0;
        width: 100%;
        height: 300px;
        border-radius: 0;
        object-fit: cover;
    }

    .section-body .last-update-article-card .article-name {
        font-size: 20px;
    }

    .section-body .article-item .card .article-thumbnail {
        width: auto;
        height: 200px;
    }
}
