/*
Theme Name: Newspaperex
Theme URI: https://themeansar.com/free-themes/newspaperex
Author: Themeansar
Author URI: https://themeansar.com
Description: Newspaperex is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Newspaperex is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Newspaperex is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://newsup.themeansar.com/newspaperex/ and documentation at https://docs.themeansar.com/docs/newsup/
Version: 2.2
Requires PHP: 7.0
Requires at least: 5.4
Tested up to: 6.4.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: newsup
Text Domain: newspaperex
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, theme-options, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks

Newspaperex WordPress Theme is child theme of Newsup, Copyright 2020 Themeansar
Newspaperex is distributed under the terms of the GNU General Public License v3

Newspaperex is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

body {
    font-family: DM Sans, serif;
}

a:focus {
    outline: 1px solid;
}


span.time {
    margin-left: 5px;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 35px;
}
.mg-social li span.icon-soci { 
    float: unset;
}
.mg-headwidget.center .heacent {
    margin-top: unset !important;
}
.mg-headwidget.center .logo-center, .mg-headwidget.center .navbar-header, .mg-headwidget.center .site-branding-text  {
    float: none;
    text-align: center;
}

.mg-headwidget.center .navbar-brand {
    float: none;
    display: inline-block;
    margin: 8px auto 0 auto;
    font-weight: bold;
}
.mg-headwidget.center .heacent {
    margin-top: 40px;
    color: #fff;
}
.navbar-wp .dropdown-menu.searchinner .btn {
    border: medium none;
    border-radius: 0 4px 4px 0;
    height: 40px;
    line-height: 25px;
    padding: 5px 15px;
}
.mg-search-box .dropdown-toggle::after {
	display: none;
}
.m-header {
	display: none;
}
.desk-header {
	display: flex;
}
.mobilehomebtn {
    width: 30px;
    text-align: center;
    line-height: 30px;
    height: 30px;
}
.logo-auto {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.mg-blog-post.md{
	width: 49.8%;
	float: left;
	height: 236px;
}
.mg-blog-post.md .bottom h4 {
    font-size: 26px;
}
.mb1px {
	margin-bottom: 1px;
}
.mg-blog-post.lg.mins {
	width: 100%;
	height: 222.5px;
	margin-bottom: 30px;
}
.mg-blog-post.lg.mins h4.title {
	font-size: 22px;
}
.mg-blog-post-box .mg-header {
    padding: 20px 20px;
}
footer .site-description {
    letter-spacing: 1.2px; 
}
.mg-headwidget .site-branding-text .text-center {
    color: #fff;
    text-align: center;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { 
    box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
}
.mg-social.info-right a:focus{
    outline: none;
}
.mg-nav-widget-area .navbar-brand{
    margin-right: 0;
}
/* ============================================= Responsive Part ======================================== */

@media (min-width: 1200px) {
    .mg-blog-post.md .bottom h4 {
        max-height: 65px;
        overflow: hidden;
    }
}
@media (max-width: 991px) {
	.navbar-wp .navbar-nav > li> a i {
    	display: none;
	}	
    #menu-primary li.active.home {
        display: none;
    }
    .m-header {
        width: 100%;
        padding-right: 5px;
        padding-left: 15px;
        display: flex;
        justify-content: space-between;
    }

    @media (max-width: 767px) {
        .m-header{
            padding-right: 0px;
        }
    }
    .desk-header {
        display: none;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .mg-fea-area .col-md-3 {
        display: flex;
    }
    .mg-fea-area .mg-blog-post.lg.mins {
        margin: 0 5px 30px 0;
    }
    .mg-fea-area .col-md-3.top-right-area{
        display: block;
    }
}
@media screen and (max-width: 767px) and (min-width: 240px) {
    .mg-headwidget .navbar-wp .navbar-nav > li> a {
        position: relative;
        border-bottom: 1px solid rgba(225,225,225,0.4);
    }
}
@media (min-width: 240px) and (max-width: 576px){
    .mg-fea-area .mg-blog-post.lg.mins,.mg-fea-area  .mg-posts-sec {
        margin-bottom:20px;
    }

    .mg-fea-area .mr-bot60 {
        margin-bottom: 50px;
    }
}

.featured-article-home {
    width: 100%;
    margin: auto;
    padding-top: 12px;
    padding-bottom: .5rem;
}

@media (max-width: 767px) {
    .featured-article-home {
        padding-top: 0;
        margin-top: -7px;
        width: 96%;
    }
}


.featured-article-headline, h1 {
    font-family: 'Instrument Serif', serif;
    background-color: white;
    height: auto;
    font-size: 42px;
    align-items: center;
    padding-right: 0.5rem;
    padding-top: 5px;
    padding-bottom: 10px;
    text-decoration-style: unset;
    letter-spacing: -1.2px;
    line-height: 1.05em;
}

.author .entry-title.title {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 2rem;
}

@media (max-width: 767px) {
    .featured-article-headline, h1 {
        font-size: 36px;
        line-height: 2.5rem ;
    }
}

h1.title.single {
    line-height: 1.05em;
    margin-bottom: 0;
}

.featured-article-home a {
    color: black    ;
}

.featured-article-home a:hover {
    text-decoration: underline;
}

.sub-article-home {
    display: flex;
    font-weight: 200;
    line-height: 1.2rem;
    background-color: white;
    padding-top: 10px;
    margin-left: -15px;
    margin-right: -15px;
}

@media (min-width: 767px) {
    .sub-article-home img {
        object-fit: cover;
        width: 1000px;
        height: 140px;
    }
}

@media (min-width: 992px) {
    .sub-article-home img {
        object-fit: cover;
        width: 1000px;
        height: 130px;
    }
}

@media (max-width: 767px) {
    .sub-article-home {
        display: inherit;
        margin-left: 10px;
        margin-right: 10px;
    }

}
.homepage-headlines  {
    font-family: 'Instrument Serif', serif;
    padding-top: 7px;
    line-height: 1.05em;
    font-size: 26px;
    padding-bottom: 5px;
}

.homepage-headlines a {
    color: black;
}

.homepage-headlines a:hover {
    text-decoration: underline;
}

.homepage-excerpt {
    font-weight: 300;
    font-size: 16px;
    padding-top: 10px;
}

.homepage-author {
    font-family: 'DM Mono', sans-serif;
    display: inline;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-headlines {
    font-size: 18px;
    font-family: 'Instrument Serif', serif;
    line-height: 1rem;
    margin-top: 5px;
    padding-bottom: 10px;
}

.sidebar-home {
    padding: 10px   ;
    padding-top: 0px;
}

.sidebar-inner {
    padding: 20px;
    padding-top: 0px;
}

.homecat-title {
    text-transform: uppercase;
    font-family: 'Instrument Serif', serif;
    padding-bottom: 10px;
    font-size: x-large;
    font-weight: 400;
}

.homecat-title a {
     color: black;
}

.homecat-line-top {
    border-top: 5px double #1C1C1C;
    padding-top: 5px;
    padding-bottom: 15px;
}

@media (max-width: 767px) {
    .homecat-line-top {
        width: 96%;
        margin-left: 10px;
        margin-right: 10px;
    }
}

.homecat-line{
    border-top: 5px double #1C1C1C;
    padding-top: 5px;
}

.homecat {
    width: 100%;
    padding-left: 5px;
    padding-bottom: 10px;
}

@media (max-width: 767px) {
    .homecat {
        padding-left: 15px;
        padding-bottom: 10px;
    }
}

.filmshrine-tip-banner {
    width: 100%;
    margin-bottom: 20px;
    min-height: 210px;
    background-image: url("https://cdn.filmshrine.com/uploads/2026/04/FILM-SHRINE-FOLLOW-US-NEW-THINNER-.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 767px) {
    .filmshrine-tip-banner {
        min-height: 150px;
        margin-left: 10px;
        width: 96%;
    }
}

.home-thumb {
    width: 25%;
    padding: 10px;
    padding-top: 19px;
}

.sidebar-line {

    padding-top: 1px;
    margin-bottom: 23px;
    background-color: #9CFF51;
}

.homepage-line {
    padding-top: 1px;
    margin-bottom: 30px;
    background-color: #9CFF51;
}

.homepage-linetop {
        padding-top: 1px;
        background-color: #9CFF51;
        margin-top: 16px;
    }



@media (max-width: 767px) {
    .homepage-linetop {
        width: auto;
        margin-right: 10px;
        margin-left: 10px;
    }
}
.author .home-thumb {
    padding-top: 0px;
}

@media (max-width: 767px) {
    .home-thumb {
        width: 100%;
        padding-top: 10px;
    }
}

.header-image {
    max-height: 90px;
}


@media (max-width: 500px) {
    .header-image {
        margin: auto;
        max-height: 50px;
    }
}

.featured-image-article {
    width: 100%;
    margin: auto;
    padding-top: 12px;
    padding-bottom: 5px;
}

@media (max-width: 767px) {
    .featured-image-article {
        padding-top: 5px;
    }
}

.cat-title {
    text-transform: uppercase;
    font-family: 'Instrument Serif', serif;
    padding-bottom: 20px;
    font-size: xx-large;
    font-weight: 600;
    padding-top: 20px;
}



.article-row {
    margin: auto;
}

@media (max-width: 767px) {
    .article-row {
        width: 100%;
    }
}

.authorBio {
    padding: 20px;
    background: white;
    max-width: 1210px;
    margin: auto;
}

@media (max-width: 1200px)
{
    .authorBio {
        padding: 10px;
    }

}
@media (max-width: 760px) {
    .authorBio {
        width: 98%;
    }
    .authorBio .home-thumb {
        padding: 0;
        padding-bottom: 15px;
    }
}

.authorBio a {
    color: black;
}

.author-col {
    padding-left: 20px;
}

@media (max-width: 760px) {
    .author-col {
        padding-left: 0;
    }

}

.avatarbox {
    padding-bottom: 20px;
    width:30%;
}

@media (max-width: 760px) {
    .avatarbox {
        width: 350px;
    }

}

@media (min-width: 1000px) {
    .avatarbox {
        max-width: 350px;
    }

}

.profiledesc {
    width: 70%;
    padding-left: 5%;
}

@media (max-width: 760px) {
    .profiledesc {
        width: 100%;
        margin: 2px;
        padding: unset;
    }

}

.authormain {
    font-family: 'Instrument Serif', serif;
    display: flex;
    font-weight: 100;
    line-height: normal;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 760px) {
    .authormain{
        display: grid;
        padding-bottom: 0;
    }

}

.authorarticles {
    padding-left: 10px;
}

@media (max-width: 760px) {
    .authorarticles{
        padding-left: 0px;
    }

}

.wp-caption-text {
    font-style: italic !important;
}

.authorbox {
    padding: 10px;
    font-size: 18px;
    display: grid;
}

.profilenamedesk {
    font-size: xx-large;
    font-weight: bold;
}

@media (max-width: 760px) {
    .profilenamedesk {
        display: none;
    }

}

.profilenamemob {
    font-size: xx-large;
    font-weight: bold;
}

@media (min-width: 760px) {
    .profilenamemob {
        display: none
    }

}

.social-follow {
    display: flex;
}

.social-twitter {
    margin: auto;
    display: flex;
}

.social-bio {
    text-align: left;
    width: 70%;
}
.social-cat {
    width: 30%;
}

@media (max-width: 1000px) {
    .social-cat {
        width: 40%;
    }
}

@media (max-width: 1000px) {
    .social-bio {
        width: 60%;
    }}

.social-header {
    font-family: 'Instrument Serif', serif;
}

@media (max-width: 767px) {
    .mg-nav-widget-area-back {
        display: none;
    }}

.emilogo-mobile {
}


@media (min-width: 767px) {
    .emilogo-mobile {
        display: none;
    }}

.homepage-recirc {
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (max-width: 767px) {
    .homepage-recirc {
        margin-left: 0;
        margin-right: 0;
    }}

.homepage-thumb {
    width: 50%;
    padding-bottom: 10px;
    padding-right: 25px;
}

@media (max-width: 767px) {
    .homepage-thumb {
        width: 100%;
        padding-right: 0px;
    }}

@media (min-width: 1000px) {
    .homepage-thumb {
        width: 30%;
    }}

.homepage-recirc-main {
    margin-top: -20px;
    font-family: 'DM Sans', serif;
}

@media (max-width: 1000px) {
    .homepage-recirc-main  {
        margin-top: 0px;
    }}

@media (min-width: 787px) {
    .homepage-recirc-main  {
        margin-top: -20px;
    }}

@media (max-width: 787px) {
    .homepage-recirc-main  {
        padding-left: 0px;
    }}

.homepage-recirc-main .mg-content {
    margin-top: 8px;
}

.homepage-recirc-main

.sidebar-display {
    display: inherit;
}

@media (min-width: 991px) {
    .sidebar-display {
        margin-left: 15px;
    }
}

@media (max-width: 990px) {
    .sidebar-display {
        display: none;
    }}

/* page-content-single p:first-child:first-letter {
    color: #9CFF51;
    font-weight: bold;
    float: left;
    display: block;
    font-size: 55px;
    margin-top: 11px;
}*/

.page-content-single {
    font-family: DM Sans, serif;
    font-size: 18px;
    letter-spacing: -.03em;
    line-height: 26px;
}

@media (max-width: 990px) {
    .page-content-single {
        font-size: 16px;
    }
}

.wp-caption  {
   max-width: 100%;
}


.tags-single {
    font-size: small;
}

.mg-sidebar a {
    font-family: 'Instrument Serif', serif;
    color: black;
    line-height: 1.2rem;
}

[id^="ad-inarticle-"], [id^="ad-sidebar-"] {
    margin: 12px auto;
    padding-bottom: 15px;
    padding-left: 15px;
}

#ad-slot1 {
    margin-bottom: 10px;
}

#ad-slot2 {
    margin-bottom: 10px;
}

#ad-slot1 {
    margin-bottom: 10px;
}

.entry-title {
    font-size: 30px !important;
}

.footer-menu {
    color: #9CFF51;
    padding-top: 30px;
    font-size: 16px;
}

.footer-menu a:hover {
    color: #9CFF51 !important;
    text-decoration: underline;
}

.main-footer {
    display: flex;
    padding-right: 50px;
}

@media (max-width: 787px) {
    .main-footer  {
        display: unset;
        padding-right: unset;
    }}

.sub-footer li {
    padding: 7px;
}

.main-footer ul {
    list-style-type: none;
    padding-left: 0;
}

.homepage-content {
    max-width: 75%;
}


@media (min-width: 991px) {
    .homepage-content {
        padding-right: 10px;
    }
}

@media (max-width: 1324px) {
    .homepage-content {
        max-width: 70%;
    }}

@media (max-width: 1175px) {
    .homepage-content {
        max-width: 65%;
    }}


@media (max-width: 991px) {
    .homepage-content {
        max-width: 100%;
    }}

.sidebar-content {
    max-width: 25%;
}

@media (max-width: 1324px) {
    .sidebar-content {
        max-width: 30%;
    }}

@media (max-width: 1175px) {
    .sidebar-content {
        max-width: 35%;
    }}

.wp-block-jetpack-top-posts span {
   margin-top: 5px;
}

.sidebar-news {
    padding: 10px;
    line-height: 0.9rem;
}

.boxout {
    background-color: #9CFF51;
    width: 100%;
    margin-bottom: 10px;
}

.boxouttext {
    padding: 15px;
    font-size: large;
}

@media (min-width: 767px) {
    .boxouttext {
        -moz-column-count: 2;
        -moz-column-gap: 10px;
        -webkit-column-count: 2;
        -webkit-column-gap: 10px;
        column-count: 2;
        column-gap: 15px;
        column-rule: solid 1px;
    }}

.boxouttitle {
    padding: 10px;
    padding-left: 20px;
    color: white;
    background-color: #002954;
    font-size: x-large;
}

.footer-menu a {
    color: #9CFF51;
}

.single-link a {
    font-weight: 600;
    color: #1C1C1C;
    text-decoration: underline; !important;
    text-decoration-color: #9CFF51;
    text-underline-offset: 0.2em;
}

.single-link a:hover, a:focus {
    text-decoration: underline;
}

.burger {
    color: #9CFF51;
}

.nav-links {
    font-family: 'Instrument Serif', serif;
    text-transform: uppercase;
}

.nav-previous {
    float: right;
    white-space: nowrap
}

.nav-next {
    width: 50%;
    float: left;
    white-space: nowrap
}

.navbar-nav > li> a:hover {
    color: black;
}

.footer-menu a:hover {
    color: black;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .home-all {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

a:focus {
    outline: 0px !important;
    outline: none !important;
}

.sharing-icon {
    width: 30px;
    padding: 3px;
}

.image-credit {
    bottom: 0; 
    right: 0; 
    background: rgba(0, 0, 0, 0.4); 
    color: #fff; 
    padding: 3px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .image-credit {
        font-size: 10px;
    }
}

.image-credit p {
    margin-bottom: 0;
}

p.blog-excerpt {
    margin: 0;
    font-family: 'DM Sans', 'serif';
    line-height: 26px;
    font-weight: 500;
    font-size: 18px;
    padding-bottom: 10px;
}

.mg-info-author-block {
    align-items: flex-start;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media (max-width: 767px) {
    .mg-info-author-block {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.mg-info-author-block .mg-author-pic img {
    margin-right: 15px;
    margin-bottom: 0;
}

.mg-blog-meta, .single .mg-blog-date {
    font-family: 'DM Mono', sans-serif;
}

.mg-sidebar .mg-widget, .sidebar-home, .sidebar-inner {
    padding-right: 0;
}

.mg-blog-category a {
    line-height: 11px;
    padding-bottom: 0.15rem;
    background-color: #9CFF51;
}

footer {
    font-family: 'Instrument Serif', serif;
}

.mg-breadcrumb-title h1 {
    font-weight: 400;
}

.search-display {
    padding-left: 20px;
}

.navbar-nav {
    flex-grow: 1;
    justify-content: space-between;
    padding-left: 10px;
}

.mg-headwidget .navbar-wp .navbar-nav > li> a {
    padding: 0;
}

.mg-head-detail {
    padding: 0;
}

.container-fluid.home {
    padding: 20px;
    padding-top: 10px;
}

.mg-posts-sec-post {
    padding-top: 5px;
    padding-bottom: 5px;
}
.mg-sidebar .mg-posts-sec-post {
    padding-top: 0;
    max-width: 300px;
}

body.wp-singular .mg-sidebar {
    padding-left: 45px;
}

.article-sidebar {
    padding-left: 50px;
}

.dynmain {
    margin: -10px;
}

.fas {
    color: #9CFF51;
}

.wp-block-heading {
    font-family: 'Instrument Serif', serif;
}

.shrineicons {
    width: 23px;
    height: auto;
    padding-bottom: 5px;
}

.shrineiconexplained {
    width: auto;
    height: 28px;
    padding-bottom: 5px;
}

.homepage-block {
    font-weight: 100;
    font-size: 26px;
    background: #9CFF51;
    padding-bottom: 1px;
    padding-top: 6.5px;
    padding-right: 5px;
    padding-left: 5px;
    color: #000;
    border-color: #9CFF51;
    width: max-content;
    outline: 5px double #1C1C1C;
    white-space: nowrap;
    text-align: center;
    width: max-content;

}


.sidebar-card {
    --line: #000 ;
    --gap: 2px;     /* space between the 2 lines */
    position: relative;
    border: 1.5px solid var(--line);
    padding: 10px;
    overflow: visible;
    margin-top: 30px;
}

.sidebar-home.sidebar-card + .sidebar-home.sidebar-card {
    margin-top: 50px;
}

/* inner line */
.sidebar-card::before {
    content: "";
    position: absolute;
    inset: var(--gap);
    border: 1.5px solid var(--line);
    pointer-events: none;
}

/* optional top-left label like your screenshot */
.sidebar-badge {
    font-family: 'Instrument Serif', serif;
    --gap: 1px;      /* white gap thickness */
    --inner: 1.2px;    /* inner border thickness */
    --outer: 1.2px;    /* outer border thickness */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    white-space: nowrap;
    text-align: center;
    position: absolute;
    top: 0;
    left: 18px;
    transform: translateY(-55%);
    z-index: 2;
    background: #8cff43;
    border: var(--inner) solid var(--line);
    padding: 0;
    font-size: 26px !important;
    line-height: 1;
    box-shadow:
            0 0 0 calc(var(--inner) + var(--gap)) #fff,
            0 0 0 calc(var(--inner) + var(--gap) + var(--outer)) var(--line);
}

.sidebar-top {
    margin-top: -10px;
}

.custom-box {
    font-size: 1.5rem !important;
    background-color: #000;
    border-radius: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 15px;
    width: 165px;
}

.custom-box a{
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.custom-box span{
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    margin-left: 10px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

.custom-box-mobile{
    display: none;
}

.custom-box-desktop{
    display: block;
}

@media (max-width: 640px) {
    .custom-box {
        width: 100%;
    }

    .custom-box-mobile{
        display: block;
    }

    .custom-box-desktop{
        display: none;
    }
}

.article-author {
    margin-top: 5px;
}

.authorava img{
    border-radius: 0 !important;
}

.article-title {
    padding-bottom: 15px;
}