﻿
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  /*  padding-right: 0;
    padding-left: 0*/
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px
    }
}

main.container {
    display: flex;
    gap: var(--gap);
    /*  flex-wrap: wrap;justify-content: space-between;*/
    max-width: min(1200px, calc(100% - 10px));
    margin: 0 auto var(--gap);
    -webkit-justify-content: space-between;
}

main > section {
    width: 100%;
    max-width: 810px
    /*width: 810px;*/
    /*    border: 1px solid rgb(59 130 246 / .5);
*/
}

main > aside {
    min-width: 350px;
    max-width: calc(100% - 835px);
}


@media screen and (max-width: 1023px) {
    main > aside {
       /* display: none;*/
    }

}

@media (max-width: 1023px) {
    main.container {
        max-width: 800px;
        flex-wrap: wrap;
    }
    main > section {
        width: 100%;
        margin: auto;
    }

    main > aside {
        width: 100%;
        min-width: auto;
        max-width: fit-content;
        /*    width: 350px;
        min-width: 350px;
        max-width: 350px;
        margin: 0;*/
    }
}

.sticky-scroll {
    position: sticky;
    top: 0;
}

/* Mega Menu Hover */
.group:hover .mega-menu {
    opacity: 1;
    display: block;
    transform: translateY(0);
}

#mobNav  ul{
    overflow-y: scroll;
    height: 100vh;
}



article img {
    width: 100%;
}

article .prose a {
    color: #a4359b !important;
    font-weight: bold;
}

.prose {
    color: hsl(var(--foreground));
    line-height: 1.9
}

    .prose h2 {
        color: hsl(var(--foreground));
        font-size: 1.2rem;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 1rem;
        padding-right: 1rem;
        border-right: 4px solid hsl(var(--primary))
    }

    .prose h3 {
        color: hsl(var(--foreground));
        font-size: 1.0rem;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 1rem;
        padding-right: 1rem;
        border-right: 4px solid hsl(var(--primary))
    }

    .prose p {
        margin-bottom: 5px
    }

    .prose blockquote {
        background: hsl(var(--accent));
        border-right: 4px solid hsl(var(--primary));
        padding: 1.5rem;
        margin: 2rem 0;
        border-radius: .5rem;
        font-style: italic;
        color: hsl(var(--accent-foreground))
    }

    .prose ul {
        counter-reset: numList;
        list-style: decimal;
        list-style-type: decimal;
        padding-right: 1.5rem;
        margin-bottom: 1.5rem;
        margin-block-start: 1em;
        margin-block-end: 1em;
        padding-inline-start: 15px;
    }

        .prose ul li {
            margin-bottom: .5rem;
            padding-right: 0
        }

.relatedArticles ul {
    counter-reset: disc;
    list-style: disc;
    list-style-type: disc;
}

.prose table {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    border: 1px solid #eee;
    overflow-x: auto;
   /* display: block;*/
}

    .prose table th {
        text-align: right;
        border: 1px solid #eee;
    }

    .prose table td {
        text-align: center;
        border: 1px solid #eee;
    }


button#loadmoren {
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: var(--radius);
    align-items: center;
    height: 2.25rem;
    cursor: pointer;
    width: 100%;
}


#search-bar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    background: #a4359b;
    margin: 59px auto;
    width: 100%;
}
    #search-bar svg {
        position: absolute;
        top: 25px;
        left: 15px;
    }

    #search-bar #autocompleteResults {
        list-style: none;
        padding: 0;
        margin-top: 10px;
        border: 0px solid #eee;
        border-top: none;
        max-height: 400px;
        overflow-y: auto;
        display: flex;
        flex-wrap: wrap;
        max-height: calc(100vh-70px);
    }
        #search-bar #autocompleteResults a {
            display: flex;
            font-size: 12px;
            color: #ffffff;
            padding: 10px;
        }
        #search-bar #autocompleteResults li {
            display: flex;
            align-items: center;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            flex-grow: 1;
            width: 100%;
        }
            #search-bar #autocompleteResults li img {
                width: 50px;
                height: 50px;
                border-radius: 4px;
                margin-left: 10px;
                object-fit: cover;
            }



/*adsssssssssssssss*/

.max.leaderboard {
    width: max-content;
    position: relative;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 20px 0 0 0;
}
    .max.leaderboard::after, .assideda::after {
        content: "Ads";
        font-size: 12px;
        color: #ccc;
        width: 100%;
        position: absolute;
        top: 0;
        text-align: center;
    }

.ads {
    width: max-content;
    margin: 10px auto;
}



.news-grid-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
    .news-grid-2 ul li {
        background: #fff;
        border: 1px solid #eee;
    }
        .news-grid-2 ul li:first-child {
            grid-column: span 2; 
        }



.news-grid-x2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

    .news-grid-x2 ul li {
        position: relative;
    }

        .news-grid-x2 ul li:first-child {
            grid-row: 1 / span 2; 
            grid-column: 1 / 2;
        }


@media (max-width: 823px) {
    .news-grid-x2 ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
        .news-grid-x2 ul li:first-child {
            grid-column: span 2;
        }
}
/*@media (max-width: 768px) {
    .news-grid-x2 ul {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

        .news-grid-x2 ul li:first-child {
            grid-row: auto;
            grid-column: auto;
        }
}*/