/* customize navbar */
.navbar-marketing {
    background-color: var(--white) !important;
    border-bottom: 1px solid var(--nt-03) !important;
}

.navbar-marketing .collapse .nav-link {
    color: var(--nt-07) !important;
    transition: all 200ms ease;
}
.navbar-marketing .collapse .nav-link:hover {
    color: var(--secondary) !important;
}

.navbar-marketing.navbar-scrolled {
    background-color: var(--white) !important;
}

.navbar-marketing .navbar-toggler .fa-bars {
    color: var(--nt-11) !important;
}
/* customize navbar - end */

.how-to-container {
    padding-top: 150px;
    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(--secondary);
    color: var(--white);
}
/* button -  end */

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

.section-body .last-update-how-to {
    margin-top: 32px;
}

.section-body .last-update-how-to-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-how-to-card:hover {
    border-color: var(--secondary);
    box-shadow: 0px 12px 16px -4px rgba(0, 0, 0, 0.10);
}

.section-body .last-update-how-to-card .last-update-how-to-thumbnail {
    border-radius: 8px;
    margin: 32px;
    width: 508px;
    height: 414px;
    object-fit: cover;
}

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

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

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

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

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


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

.section-body .how-to-columns {
    margin-top: 32px;
    row-gap: 32px;
}

.section-body .how-to-item .card {
    box-shadow: none;
    border: 1px solid var(--nt-03);
    border-radius: 8px;
    transition: all 200ms ease;
    height: 100%;
}
.section-body .how-to-item .card:hover {
    border-color: var(--secondary);
    box-shadow: 0px 12px 16px -4px rgba(0, 0, 0, 0.10);
}

.section-body .how-to-item .card .how-to-thumbnail {
    margin: 16px;
    border-radius: 8px;
    width: inherit;
    height: 300px;
    object-fit: cover;
}
.section-body .how-to-item .card .how-to-category {
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

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

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

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

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

.section-body .how-to-item .card .how-to-creator-container .creator-name {
    margin-bottom: 4px;
    color: var(--nt-11);
    font-weight: 700;
}
.section-body .how-to-item .card .how-to-creator-container .creator-name {
    margin-bottom: 4px;
    color: var(--nt-11);
    font-weight: 700;
}
.section-body .how-to-item .card .card-body {
    min-height: inherit !important;
}

.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-header .heading-2 { width: 100%; }

    .section-body .how-to-columns { row-gap: 32px; }

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

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

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

    .section-header .heading-2 { width: 100%; }

    .section-body .how-to-columns { row-gap: 32px; }

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

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

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

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