

main {
  padding-top: 115px;
  padding-bottom: 20px;
}
main .content {
    padding: 0px 0px 0px 0px;
}
/* Scroll behavior styles */
#mainHeader {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  background-color:#ffffff;
}
.top-bar {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:20px 16px;
    font-size: 20px;
}
.icon {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor; /* enables text color control */
    color: #333; /* adjust to your brand color */
}
.logo {
    width: 32px;
    height: 32px;
    display: block;
    fill: currentColor; /* enables text color control */
    color: #333; /* adjust to your brand color */
}
.top-bar > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* for consistent icon spacing */
}

.tab-bar {
    height: 42px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 500;
}

.tab {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

    .tab.active {
        font-weight: 800;
    }

        .tab.active::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 30%;
            right: 30%;
            height: 0px;
            background-color: #018cd9;
            border-radius: 2px;
        }
.header--hidden {
  transform: translateY(-100%);
}

#mainFooter {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.footer--faded {
  transform: translateY(100%);
  opacity: 0;
}
.header-thread {
    width: 100%;
   /* height: 56px;*/
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.00);
    z-index: 10;
}
    .header-thread h2 {
        flex: 1;
        margin: 0 8px;
        font-size: 18px;
        font-weight: bold;
    }
/* Banner */
.banner {
    margin: 60px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 100%;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
    background-image: url('https://mdia.io/img/joey-montes-epl-match.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1rem;
    aspect-ratio: 7 /5;
    object-fit: cover;
}

@media (max-width: 768px) {
    .banner {
        max-height: 80vh;
        padding: .75rem;
    }

        .banner h1 {
            font-size: 1.5rem;
        }

        .banner p {
            font-size: .9rem;
        }
}

.cover {
    width: 100%;
    background: #cfd9de;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1rem;
    aspect-ratio: 16/9;
    object-fit: cover;
    max-height: 480px;
}
.app {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 90px minmax(0,1fr) 90px;
    min-height: 100svh
}

@media(max-width:1200px) {
    .app {
        grid-template-columns: 90px minmax(0,1fr) 90px
    }

    .nav .label {
        display: none
    }
}

@media(max-width:980px) {
    .app {
        grid-template-columns: 90px minmax(0,1fr) 90px
    }

    /* .right {
        display: none
    }*/
}

@media(max-width:720px) {
    .app {
        grid-template-columns: 70px 1fr
    }

    .center {
        padding-bottom: 72px
    }
}
/* LEFT NAV */
.nav {
    padding: 8px 12px;
    position: sticky;
    top: 0;
    height: 100svh
}

    .nav .stack {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 6px
    }

    .nav a, .nav button {
        appearance: none;
        border: 0;
        background: transparent;
        color: inherit;
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 12px 14px;
        border-radius: 999px;
        text-decoration: none;
        font-size: 18px
    }

        .nav a:hover, .nav button:hover {
            background: #e8f5fe
        }

    .nav .brand {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 999px
    }

@media(max-width:720px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        z-index: 30;
        padding: 0;
        width: 90px;
        height: 100vh;
    }

        .nav .stack {
            flex-direction: row;
            justify-content: space-evenly;
            align-items: center;
            height: 100%;
            padding: 0
        }

        .nav .brand, .nav .compose {
            display: none
        }
 
}
@media(max-width:600px) {

    .right {
        display: none
    }
    .nav {
        display: none
    }
}
.center {
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    min-height: 0;
    padding:25px 5px;
}