@media (max-width: 1440px) {
    .post-grid .post-sizer,
    .post-grid .post-card {
        width: calc(33.33% - 13.33px);
    }
    .post-grid .post-card {
        margin-bottom: 13px;
    }
}
@media (max-width: 1200px) {
    .post-grid .post-sizer,
    .post-grid .post-card {
        width: calc(50% - 10px);
    }
    .post-grid .post-card {
        margin-bottom: 10px;
    }
}
@media (max-width: 992px) {
    .post-grid .post-sizer,
    .post-grid .post-card {
        width: calc(100%);
    }
    .post-grid .post-card {
        margin-bottom: 16px;
    }
}

@media (max-width: 769px) {
    aside {
        transform: translateX(-100%);
    }

    aside.active {
        transform: translateX(0%);
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1049;
        display: none;
    }
    .sidebar-overlay.show {
        display: block;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 10px 16px 10px 16px;
    }
    header .mobileLogo {
        display: block;
        max-width: 100%;
        height: 42px;
    }
    header .sidebarToggle {
        max-width: 40px;
        min-width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--card-border);
        border-radius: 50%;
        padding: 0;
    }
    header .avatar {
        max-width: 30px;
        min-width: 30px;
        height: 30px;
    }
    header .notification svg {
        width: 24px;
        height: 24px;
    }

    .main-content {
        margin-left: 0;
        margin-top: 62px;
        padding: 20px;
    }

    .nav-scroll-btn {
        display: flex;
    }
    .navTab-wrapper.has-overflow {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    }
}

@media (max-width: 620px) {
    /*====== Reels Page ======*/
    .reel-container {
        max-width: 100%;
        height: 100svh;
        position: fixed;
        inset: 0;
        margin: auto;
    }

    .reel-container .scrollingBtn {
        display: none;
    }

    .reelScrolling-container {
        height: 100%;
    }

    .reelsBox {
        max-width: 100%;
        border-radius: 0;
        height: 100%;
        margin-bottom: 0;
    }

    .reelsBox .contentBox {
        padding: 20px 18px;
    }

    .reelsBox .ctaBtns {
        gap: 15px;
        margin-bottom: 15px;
    }

    .reelsBox .contentBox .moreLessDescription {
        font-size: 12px;
        line-height: 18px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 16px;
    }
    /* Filter Bar */
    .filterBar .locationDropdown .dropdown-menu {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        max-width: none !important;
        border-radius: 0;
        margin-top: 0 !important;
        overflow-y: auto;
        z-index: 9999;
        padding: 16px;
        display: flex !important;
        flex-direction: column;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%) !important;
        -webkit-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
    }
    .filterBar .locationDropdown .dropdown-menu.show {
        transform: translateX(0) !important;
    }
    .filterBar .locationDropdown .dropdown-menu .dropdownClose {
        display: block;
        margin-right: 16px;
        cursor: pointer;
    }

    .filterBar .locationDropdown .dropdown-menu ul {
        max-height: 100%;
        overflow-y: auto;
    }

    .filterBar .locationDropdown .dropdown-menu ul li {
        padding: 14px 0;
        border-bottom: 0.5px solid var(--border-color);
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .filterBar .filters .dropdown-menu.SortBy {
        width: 280px;
    }

    /* Offcanvas */
    .offcanvas {
        margin: 0px;
        border-radius: 0;
    }

    .myProfileSidebar {
        max-width: 100%;
    }
    .myProfileSidebar .profileImage {
        max-width: 100px;
        min-width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }
    .myProfileSidebar .ctaList li a {
        padding: 16px;
        font-size: 14px;
    }

    /* Nav Tabs */
    /* .customNavTab {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        text-wrap: nowrap;
    } */
    .customNavTab .nav-link {
        white-space: nowrap;
        padding: 13px 24px;
        font-size: 14px;
    }

    /* Post images */
    /* .post-card .post-image {
        height: 230px;
    } */
}
