/*
    Theme Name:The Pillar
    Description:This is a custom theme developed for thepillar.live
    Author:Ateendra
    Version:1.0


*/



@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap');



:root {
    --primary-color: #c80815;
    --color-text: #191B1D;
    --color-dark: #424242;
    --color-background: #fff;
    --color-text-rgb: 32, 33, 36;
}

body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: "Hind", sans-serif;
}

* {
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Hind", sans-serif;
}

a {
    color: initial;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

#main-menu,
#trending {
    max-width: 1400px;
    white-space: nowrap;
    margin-bottom: -20px;
}

#alert {
    background: #e3e3e3;
    color: black;
    padding: 5px 1.2rem;
    margin: 10px;
    border-radius: 100px;
}

.alert_text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}


/* Top Header */
#top-head {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #DFDFDF;
    margin: 1px 0px;
    font-size: 13px;
    height: 30px;
    padding: 0 10px;
}

#top-head .right {
    display: flex;
}

#top-head .left {
    display: flex;
}

.social_icons {
    margin: 1px 3px;
    display: flex;
}

.social_icons a {
    border-radius: 100%;
    padding: 3px;
    line-height: 10px;
    margin-right: 5px;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube {
    border: 1px solid #F72020;
}

.facebook {
    border: 1px solid #2898FF;
}

.twitter {
    border: 1px solid #16ABED;
}

.instagram {
    border: 1px solid #D62976;
}

.gnews {
    border: 1px solid #808080;
}

.newsletter-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5px 5px;
    border-radius: 5px;
    margin: 2px 0px;
}

.dropbtn {
    color: black;
    font-size: 14px;
    border: none;
    cursor: pointer;

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #5c5c5c;
    padding: 6px 12px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #000;
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* Header */
#masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#top-head,
#middle-header,
#main-menu,
#trending {
    max-width: 1260px;
}

/* Middle Hedader */
#middle-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 8px 0px;
}

/* Main Menu */
.menu_item {
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.menu_item li a {
    padding: 5px 15px;
    text-decoration: none;
    color: black;
    font-size: 18px;
}

.menu_item a:hover {
    color: #c80815;
}

#main-menu {
    display: flex;
    overflow-y: hidden;
    width: 100%;
    overflow-x: scroll;
    height: 35px;
    align-items: center;
    background-color: #fff;
    font-weight: 500;
}

::-webkit-scrollbar {
    display: none;
}

#menu-top-menu li {
    border-right: 1px solid #efefef;
    line-height: 20px;
    align-content: center;
}

/*
#menu-item-12 a {
    background-color: var(--primary-color);
    color: white;
}
*/

/* Trending */
#trending {
    margin-top: 20px;
    display: flex;
    overflow-y: hidden;
    width: 100%;
    overflow-x: scroll;
    background-color: #f6f6f6;
    padding-top: 6px;
    border-radius: 8px;
}

#trending a span {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 2px 8px 2px 0px;
    border-radius: 2px;
    margin-right: 10px;
    margin-left: 10px;
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}

.trending-item {
    display: flex;
    list-style: none;
    margin-bottom: 5px;
    color: black;
    font-size: 16px;
    padding: 0;

}

.trending-item li {
    margin-right: 10px;
    background-color: #e3e3e3;
    border-radius: 40px;
    padding: 4px 10px;
}

.menu-trend-menu-container {
    width: 100%;
    overflow: scroll;
}


/* Top Banner */
#top_banner {
    background-color: #f4f4f4;
    width: 98%;
    max-width: 1100px;
    height: 280px;
}

#top_banner img {
    width: 100%;
    height: 100%;
}

.hidden {
    visibility: hidden;
}

/* Front Page Ad */
.ad_front_1 {
    background-color: rgb(239, 239, 239);
    margin-bottom: 5px;
    padding: 10px;
    aspect-ratio: 5/1;
}


/* content-page */

h1 {
    font-size: 40px;
}



/* Footer */
footer {
    background-color: #F5F5F7;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

#foot-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
}

#foot-end {
    background-color: var(--color-text);
    color: var(--color-background);
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding: 10px 0px;
}

.box {
    padding: 15px;
    width: 24%;
}

#foot-container a {
    color: #6d6d6d;
}

h3 {
    margin-bottom: 10px;
}

.social_icons_bottom {
    margin: 1px 3px 0 0;
    display: flex;
}

.social_icons_bottom a {
    border-radius: 100%;
    padding: 3px;
    line-height: 10px;
    margin-right: 5px;
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Body Content */

.body_content {
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: 100%;
    padding: 4px 0;
    margin-top: 26px;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.wp-post-image {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.post_date {
    font-size: 12px;

}

.front_page_content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 38px;
}

.sidebar {
    width: 300px;
    padding: 0 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.main_content {
    width: 960px;
    padding: 0 10px;
}

.content {
    width: 700px;
    padding: 0 25px 0px 0px;
}

.content p {
    margin-bottom: 20px;
    line-height: 32px;
    font-size: 18px;
}

.headline_below {
    display: flex;
    justify-content: space-between;
    font-weight: 300;
}

.read_more {
    width: 260px;
    padding: 20px 50px 0 0;
}

.divide {
    display: flex;
    width: 960px;
}

.post_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 10px 0;
    font-weight: 300;
    color: #878787;
    font-size: 16px;
}


/* SHARE */
.share_dropbtn {
    font-size: 14px;
    border: none;
    cursor: pointer;
    background-color: #DC000F;
    color: #fff;
    border-radius: 5px;
    padding: 2px 5px;
    height: auto;
    white-space: nowrap;
}

.share_dropdown {
    position: relative;
    display: inline-block;
    align-items: center;
    display: flex;
}

.share_dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-left: 30px;
    top: 33px;
    top: 33px;
    border-radius: 0 0 10px 10px;
}

.share_dropdown-content a {
    color: rgb(152, 152, 152);
    padding: 5px 12px;
    text-decoration: none;
    display: block;
}

.share_dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #000;
    top: 33px;
    border-radius: 0 0 10px 10px;
}

.share_dropdown:hover .share_dropdown-content {
    display: block;
}

.share_wp_m {
    position: fixed;
    top: 55vh;
    right: 0;
    background-color: #25D366;
    padding: 6px 6px 1px 6px;
    border-radius: 4px 0 0 4px;
    visibility: hidden;
}

.subscribe {
    position: fixed;
    background-color: var(--primary-color);
    bottom: 20px;
    visibility: hidden;
    border-radius: 40px;
    left: 50%;
    transform: translatex(-50%);
    padding: 6px 12px;
}

.subscribe a {
    color: white;
}

.highlight {
    background-color: var(--primary-color);
    padding: 0px 10px;
    border-radius: 10px;
    color: white;
}



@media(max-width:1000px) {
    .read_more {
        display: none;
    }

    .body_content {
        flex-wrap: wrap;
    }

    .main_content {
        flex: 100%;
        width: 100%;
        padding: 10px;
    }

    .sidebar {
        flex: 100%;
        width: 100%;
    }

    .content {
        width: 100%;
        padding: 10px 0px;
    }

    .headline,
    .divide {
        width: 100%;
    }
}


/* 404 Page */
.four_page_content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Category */

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.grid-item {
    font-size: 14px;
    margin-bottom: 10px;
}

.grid-item a {
    color: #000;
}

.grid-item img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}


/* Realted */

.related-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCCCCC;
}

.related-posts li a {
    text-decoration: none;
    color: #000;
}

.related-posts li a p {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-weight: 300;
}

.related-posts li img {
    width: 50px;
    height: 40px;
    object-fit: cover;
    margin-right: 8px;
}


/* Sidebar */

.latest-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.latest-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
    border-bottom: 1px solid #CCCCCC;
}

.latest-posts li a {
    text-decoration: none;
}

.latest-posts li img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    margin-right: 8px;
}

.latest-posts li a p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    font-weight: 300;
}

.side_headlines {
    background-color: var(--primary-color);
    color: white;
    padding: 0 12px;
    border-radius: 40px;
    width: fit-content;
    margin-bottom: 5px;
}

.yt_videos {
    display: flex;
    flex-direction: column;
}

.yt_videos img {
    width: 100%;
}


/* Post last follow */
.new_share {
    height: auto;
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    gap: 6px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 4px;
}

.share_heading {
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 10px;
    ;
}

.share_content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 10px;
    padding-bottom: 20px;
}

.share_buttom {
    opacity: 0.8;
    width: auto;
    height: auto;
    padding: 0.3rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.share_buttom:hover {
    opacity: 1;
}

.yt {
    background-color: #F72020;
}

.fb {
    background-color: #2898FF;
}

.ins {
    background-color: #D62976;
}

.tw {
    background-color: #16ABED;
}

.gn {
    background-color: #424245;
}

.wp {
    background-color: #25D366;
}

.share_content a {
    text-decoration: none;
    color: #fff;
}



/* After scroll header */
.custom-header {
    position: fixed;
    top: -75px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    gap: 50px;
    padding: 5px 0;
    background-color: #FFF;
    transition: all 0.8s;
    box-shadow: 0 1px 6px rgb(0 0 0 / 9%);
    width: 100%;
}

.custom-header-post-title {
    min-width: 615px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: 800px;
}


/* Front Page */
.block-1 {
    width: 100%;
    margin-top: 10px;
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    grid-gap: 10px;
    padding-bottom: 10px;
}

.block1-item {
    font-size: 14px;
}

.block1-item h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.block1-item img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.block1-item a {
    color: #000;
}

.block-2 {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

.part {
    flex-wrap: wrap;
    width: 25%;
    padding-left: 10px;
}

.category-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    border-top: 1px dashed #CCCCCC;
    border-right: 1px dashed #CCCCCC;
    border-bottom: 1px dashed #CCCCCC;
}

.category-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.category-posts li a:hover {
    color: var(--primary-color);
}

.category-posts li img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    margin-right: 8px;
}

.cat-post-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.block-3 {
    width: 100%;
    margin-bottom: 35px;
    grid-template-columns: repeat(6, 1fr);
    display: grid;
    grid-gap: 10px;
}

.block3-item {
    font-size: 14px;
}

.block3-item h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.block3-item img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}


.block4 {
    display: flex;
}

.block4A {
    padding-right: 10px;
    border-right: 1px dashed #CCCCCC;
}

.block4B {
    padding-left: 10px;
}

.category-grid-container {
    display: flex;
    flex-wrap: wrap;
}

.latest-post {
    flex: 1;
    margin-right: 10px;
}

.next-five-posts {
    flex: 1;
}

.next-five-post {
    flex: 1;
    margin-bottom: 20px;
}

.next_category-posts {
    list-style: none;
    margin: 0;
    font-size: 14px;
    padding-left: 10px;
}

.next_category-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.next_category-posts li img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    margin-right: 8px;
}


.breadcrumb {
    font-size: 12px;
    margin-bottom: 7px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.commentmetadata {
    font-size: 12px;
}

#comments {
    display: none;
}

.avatar {
    height: 24px !important;
    width: 24px !important;
}

@media(min-width:1000px) {
    .custom-header.sticky {
        position: fixed;
        top: 0;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        font-weight: 600;
        gap: 50px;
        padding: 5px 0;
        background-color: #FFF;
        transition: all 0.8s;
        box-shadow: 0 1px 6px rgb(0 0 0 / 9%);
        width: 100%;
    }


}

@media(max-width:1000px) {
    .stick {
        position: fixed;
        top: 0;
        z-index: 2;
    }

    #masthead {
        display: inline;
    }


    .category-grid-container {
        flex-direction: column;
    }

    .block4 {
        flex-wrap: wrap;
    }

    .block4A,
    .block4B {
        width: 100%;
    }

    .block-1,
    .block-3 {
        grid-template-columns: repeat(1, 1fr) ! important;
        grid-gap: 0;
    }

    .block-2 {
        flex-direction: column;
    }

    .block-2 .part {
        width: 100%;
        margin-bottom: 10px;
    }

    .front_page_content {
        padding: 0 10px;
    }

    .block1-item img,
    .block3-item img {
        height: auto;
    }

    .block1-item {
        margin-bottom: 10px;
    }

    #main-menu {
        position: sticky;
        top: 0;
        z-index: 9;
        box-shadow: 0px 2px 2px #0000001c;

    }

    .news-popup.upper {
        bottom: 0px;
    }

    .news-popup.upper::before {
        content: "ये भी पढ़ें";
        background: var(--primary-color);
        position: absolute;
        top: -27px;
        color: white;
        padding: 1px 8px;
        border-radius: 0px 8px 0 0;
        transition: all .8s;
    }

}



@media (min-width:1000px) {
    #main-menu {
        justify-content: center;

    }

    .read_more,
    .sidebar {
        height: 100%;
        position: sticky;
        top: 30px;
    }


}

@media(max-width:600px) {
    #top-head {
        display: none;
    }

    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0;
    }

    .ad_front_1 {
        aspect-ratio: 1.2/1;
    }

    /*

    #main-menu a {
        color: #e1e1e1;
    }


    .body_content a {
        color: #ffffff;
    }

    .front_page_content a {
        color: #fff;
    }

    body {
        background-color: #28292B;
    }

    .body_content,
    .sidebar,
    .grid-item a,
    .latest-posts li a p {
        color: #B9B9B9;
    }
    h1,
    h2 {
        color: #fff;
    }
    #main-menu {
        background-color: #3D3D3D;
        border-bottom: 2px solid #fff;
    }
	*/
    h1 {
        font-size: 30px;
    }

    #top_banner {
        height: 140px;
    }

    #foot-container .box {
        width: 100%;
    }

    .share_wp_m,
    .subscribe {
        visibility: visible;
    }

    .follow_gn {
        display: none;
    }

    .grid-item {
        height: fit-content;
    }

}

#link_copied {
    top: -50px;
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.1s ease-in;
    z-index: 9;
}

.web-stories-list.is-carousel.has-archive-link {
    margin-top: 9px;
}

.pop_up {
    width: 140px;
    position: fixed;
    left: 10px;
    bottom: -100px;
    z-index: 9;
    transition: 0.8s ease-in;
}

.upp {
    bottom: 20px;
}

.old_article {
    display: flex;
    align-items: center;
    background: #ffd200;
    width: fit-content;
    padding: 2px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.category_block {
    /*Category Block */
    color: #2c2c2c;
    border: 1px solid #818181;
    padding: 0 6px;
    border-radius: 50px;
}

/* NEWS POPUP MOBILE */
.news-popup {
    list-style: none;
    position: fixed;
    background: #fff;
    width: 100%;
    height: auto;
    box-shadow: -2px -2px 2px #0000001c;
    bottom: -100px;
    transition: all .8s;
    padding: 0;
}

.news-popup li {
    display: flex;
    align-items: center;
    padding: 10px 10px;
}

.news-popup li img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    margin-right: 8px;
}

.news-popup li a p {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 300;
}

/* TEMPORARY */
.menu-item-4610 {
    background-color: #19388A !important;
}

.menu-item-4610 a {
    color: white;
}