/* ============================================================
   TRENDYSONGZ - GLOBAL PAGE SHELL
   appnew.css

   RESPONSIBILITY:
   - Global reset
   - Body
   - Main page layout
   - Main content column
   - Sidebar column wrapper

   DO NOT STYLE:
   - Header
   - Navigation
   - Homepage cards
   - Sidebar contents
   - Footer
============================================================ */


/* ============================================================
   GLOBAL RESET
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ============================================================
   DOCUMENT
============================================================ */

html {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

body {
    margin: 0;
    padding: 0;

    background: #ffffff;
    color: #151515;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;

    min-height: 100vh;
}


/* ============================================================
   LINKS
============================================================ */

a {
    color: inherit;
}


/* ============================================================
   REMOVE OLD SITE LAYOUT
============================================================ */

.container {
    position: static !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
}

.main {
    position: static !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    box-shadow: none !important;
}

.aside {
    position: static !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    box-shadow: none !important;
}


/* ============================================================
   MAIN PAGE LAYOUT
============================================================ */

.ts-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 40px;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 0 24px;

    background: #ffffff;
}


/* ============================================================
   MAIN CONTENT COLUMN
============================================================ */

.ts-main {
    min-width: 0;
    width: 100%;

    margin: 0;
    padding: 0;

    background: #ffffff;
}


/* ============================================================
   SIDEBAR COLUMN WRAPPER
============================================================ */

.ts-aside {
    min-width: 0;
    width: 100%;

    margin: 0;
    padding: 40px 0 0;

    background: #ffffff;
}


/* ============================================================
   TABLET
============================================================ */

@media screen and (max-width: 991px) {

    .ts-layout {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 0 20px;
    }

    .ts-aside {
        padding-top: 0;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media screen and (max-width: 767px) {

    .ts-layout {
        display: block;

        width: 100%;

        margin: 0;

        padding: 0 15px;
    }

    .ts-main {
        width: 100%;
    }

    .ts-aside {
        width: 100%;

        margin-top: 40px;

        padding: 0;
    }
}