@media (max-width: 768px) {
    .only-desktop {
        display: none !important;
    }

    .only-mobile {
        display: block !important;
    }

    .nav__link:not(:last-child) {
        display: none;
    }

    .nav__text {
        display: none;
    }

    /* breadcrumb */
    .breadcrumb__container {
        padding: 16px;
    }

    .breadcrumb__nav {
        margin: unset;
    }

    .breadcrumb__container {
        margin: unset;
    }

    .hero-banner__container {
        padding: 0 16px 32px 16px;
        flex-direction: column;
        margin: 0;
    }

    .title-herobanner__title {
        font-size: 24px;
        font-weight: 700;
        padding-bottom: 20px;
    }

    .title-herobanner__divider {
        width: 100px;
    }

    .hero-banner__description {
        margin-top: 20px;
    }

    .hero-banner__content {
        order: 2;
    }

    .hero-banner__image {
        order: 1;
        width: 100%;
        max-width: unset;
        margin-bottom: 16px;
    }

    .hero-banner__text {
        font-size: 14px;
        font-weight: 400;
    }

    /* latest-solution-case */
    .latest-solution-case {
        padding: 32px 16px 60px 16px;
    }

    .search-by-category__tags {
        margin-top: unset;
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    /*  */
    .search-by-field__container {
        padding: 32px 16px 32px 16px;
    }

    .title-section__title {
        font-size: 24px;
        font-weight: 700;
        padding: 0 0 20px 0;
    }

    .search-by-category__tags {
        margin-top: 16px;
    }

    .case-category-divorces {
        margin-top: 16px;
    }

    .case-category-divorce__title {
        font-size: 16px;
    }

    .case-category-divorce__count {
        font-size: 12px;
    }

    .case-category-divorce__tags {
        padding: 12px 0;
    }

    /* Hide scroll bar of search-by-category__tags */
    .search-by-category__tags::-webkit-scrollbar {
        display: none;
    }

    .search-by-category__tag  {
        font-size: 14px;
        font-weight: 400;
        padding: 5.5px 16px;
        white-space: nowrap;
    }

    .latest-solution-case__content {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 16px;
        row-gap: 16px;
    }
    
    .latest-solution-case__tag {
        font-size: 12px;
        font-weight: 400;
        padding: 4px 8px;
    }

    .latest-solution-case__item {
        padding: 16px;
        row-gap: 12px;
    }

    .latest-solution-case__client {
        font-size: 14px;
    }

    .latest-solution-case__case-description {
        margin: unset;
        font-size: 16px;
        font-weight: 700;
        -webkit-line-clamp: 2;
        min-height: unset;
    }

    .latest-solution-case__detail {
        margin-top: 4px;
    }

    .latest-solution-case__detail-link {
        width: 100%;
    }

    .latest-solution-case__detail-text {
        flex: 1;
        text-align: center;
    }

    .latest-solution-case__detail-icon {
        padding: 11px 16px;
    }

    .latest-solution-case__detail-icon img {
        width: 14px;
        height: auto;
    }

    .latest-solution-case__detail-text {
        font-size: 12px;
    }

    .latest-solution-case__detail-text {
        padding: 11px 16px;
    }

    /*  */
    .latest-solution-case__more {
        margin-top: 16px;
    }

    .latest-solution-case__more-text {
        width: 100%;
        flex: 1;
        justify-content: center;
        font-size: 12px;
        padding: 11px 16px;
    }

    .latest-solution-case__more-link {
        width: 100%;
    }

    .latest-solution-case__more-icon {
        padding: 11px 16px;
    }

    .latest-solution-case__more-icon img {
        width: 14px;
        height: auto;
    }

    /* pagination */
    .pagination {
        margin-top: 16px;
    }
    
    .pagination__link {
        min-width: 36px;
        padding: 10px;
    }

    .pagination__text {
        font-size: 14px;
    }

    /* footer */
    .footer__content {
        flex-direction: column;
        padding: unset;
        padding: 32px 16px;
        row-gap: 24px;
    }

    .footer__column {
        padding: unset;
    }

    .footer__column-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .footer__column {
        max-width: unset !important;
    }

    .footer__bottom-links {
        flex-direction: column;
        row-gap: 12px;
        align-items: start;
    }

    .footer__bottom-links {
        padding: 20px 16px;
    }

    .footer__sublink {
        font-size: 12px;
    }

    .footer__link {
        font-size: 14px;
    }

    .footer__logo-link {
        font-size: 20px;
    }

    .footer__bottom-link {
        font-size: 14px;
    }

    .footer__copyright {
        padding: 20px;
    }

    .footer__copyright-text {
        font-size: 14px;
        font-weight: 400;
    }
}

@media (max-width: 480px) {
    .sub-header {
        padding-top: 12%;
    }

    .advance-filter__pop-up-container {
        padding: 24px 16px 32px 16px;
    }

    .advance-filter__pop-up-container {
        height: calc(100vh - 56px);
        overflow: scroll;
    }
}
