/*
Theme Name:         News Portal
Theme URI:          https://mysterythemes.com/wp-themes/news-portal
Author:             Mystery Themes
Author URI:         https://mysterythemes.com
Description:        News Portal is the free ultimate magazine theme with creative design and powerful features that allow you to quickly and easily create a newspaper & blog style website to suit your needs. It is completely built on Customizer which allows you to customize most of the theme settings easily with live previews. It is the fully widgetized theme so as to let users manage the website using the easy to use widgets. You can import the whole beautiful demo in just one click. News Portal Theme is the best choice to create a Beautiful & Powerful News/magazine/blog websites with ease. Gutenberg blocks are now available via MysteryThemes Toolkit. Enjoy a faster and easier way to build your magazine website using powerful blocks. Check the demo at https://demo.mysterythemes.com/news-portal-demos/
Version:            1.6.0
Requires at least:  5.6
Tested up to:       7.1
Requires PHP:       7.4
License:            GNU General Public License v3 or later
License URI:        http://www.gnu.org/licenses/gpl-3.0.html
Text Domain:        news-portal
Tags:               news, blog, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-colors, custom-logo, featured-image-header, footer-widgets, full-width-template, rtl-language-support, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

News Portal is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v3 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
Reset
--------------------------------------------------------------*/

html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, 
abbr, acronym, address, big, cite, code, del, dfn, em, font, 
ins, kbd, q, s, samp, small, strike, strong, sub, sup, 
tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box;
  /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box;
  /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}

body {
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: """";
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}



/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
  color: #3d3d3d;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-weight: normal;
  font-family: 'Roboto', sans-serif;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #3d3d3d;
  font-weight: 700;
}

p {
  margin-bottom: 20px;
}

b,
strong {
  font-weight: bold;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 15px;
  font-size: 20px;
  font-style: italic;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

address {
  margin: 0 0 15px;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}



/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 15px;
}

ul,
ol {
  margin: 0 0 15px 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 15px;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 15px 15px;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
  vertical-align: middle;
}

figure {
  margin: 0;
}

table {
  margin: 0 0 15px;
  width: 100%;
  border-collapse: collapse;
}

th {
  font-weight: bold;
  border: 1px solid #CCC;
  padding: 5px 10px;
}

td {
  border: 1px solid #CCC;
  padding: 5px 10px;
}



/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/

button,
input,
select,
textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
  vertical-align: middle;
}

.navigation .nav-links a,
.bttn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: #9f0100;
  color: #ffffff;
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  font-size: 14px;
  line-height: 13px;
  height: 33px;
  border: none;
  padding: 10px 15px;
  font-weight: 400;
  display: inline-block;
  position: relative;
  text-shadow: none;
  border: 1px solid #9f0100;
}

.navigation .nav-links a:hover,
.bttn:hover,
button,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: #9f0100;
  color: #ffffff !important;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  color: #666;
  border: 1px solid #ccc;
  height: 36px;
  width: 100%;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  border: 1px solid #AAA;
}

.searchform input[type="text"]:focus {
  border: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px 6px;
}

textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  color: #666;
  border: 1px solid #ccc;
  height: 160px;
  max-width: 100%;
  width: 100%;
}

.no-results input[type="search"] {
  width: 45%;
}



/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/

a {
  color: #9f0100;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
}

a:visited {}

a:hover,
a:focus,
a:active {
  color: #9f0100;
}

a:focus {
  outline: thin dotted;
}

/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/


/* Text meant only for screen readers */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar */
}



/*--------------------------------------------------------------
Alignments
--------------------------------------------------------------*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 15px;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 15px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}



/*--------------------------------------------------------------
Clearings
--------------------------------------------------------------*/

.np-clearfix:before,
.np-clearfix:after,
.row:before,
.row:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.mt-container:after,
.mt-container:before {
  content: '';
  display: table;
}

.np-clearfix:after,
.row:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.mt-container:after {
  clear: both;
}

.clear {
  clear: both;
}



/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 30px;
}

/* Make sure select elements fit in widgets */

.widget select {
  max-width: 100%;
}

.widget_search .search-field {
  float: left;
  width: 78%;
}

.widget_search .search-submit {
  background: #f54337 none repeat scroll 0 0;
  color: #ffffff;
  height: 36px;
  width: 22%;
}

.widget_archive ul,
.widget_categories ul,
.widget_recent_entries ul,
.widget_meta ul,
.widget_recent_comments ul,
.widget_rss ul,
.widget_pages ul,
.widget_nav_menu ul,
.wp-block-latest-posts,
.wp-block-archives,
.wp-block-categories,
.wp-block-page-list,
.wp-block-latest-comments {
  list-style: outside none none;
  margin: 0;
}

.wp-block-page-list ul {
  list-style: outside none none;
}

.widget_archive li,
.widget_categories li,
.widget_recent_entries li,
.widget_meta li,
.widget_recent_comments li,
.widget_rss li,
.widget_pages li,
.widget_nav_menu li,
.wp-block-latest-posts li,
.wp-block-archives li,
.wp-block-categories li,
.wp-block-page-list li,
.wp-block-latest-comments li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_recent_entries li:last-child,
.widget_meta li:last-child,
.widget_recent_comments li:last-child,
.widget_rss li:last-child,
.widget_pages li:last-child,
.widget_nav_menu li:last-child,
.wp-block-latest-posts li:last-child,
.wp-block-archives li:last-child,
.wp-block-categories li:last-child,
.wp-block-page-list li:last-child,
.wp-block-latest-comments li:last-child {
  border: none;
}

.widget_archive a,
.widget_categories a,
.widget_recent_entries a,
.widget_meta a,
.widget_recent_comments li,
.widget_rss li,
.widget_pages li a,
.widget_nav_menu li a,
.wp-block-latest-posts li a,
.wp-block-archives li a,
.wp-block-categories li a,
.wp-block-page-list li a,
.wp-block-latest-comments li {
  color: #5f5f5f;
  font-size: 14px;
  line-height: 26px;
  padding-left: 22px;
  position: relative;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
  display: inline-block;
}

.widget a:hover,
.widget a:hover::before,
.widget li:hover::before {
  color: #9f0100;
}

.widget_archive a::before,
.widget_categories a::before,
.widget_recent_entries a::before,
.widget_meta a::before,
.widget_recent_comments li::before,
.widget_rss li:before,
.widget_pages li a:before,
.widget_nav_menu li a:before,
.wp-block-latest-posts li a:before,
.wp-block-archives li a:before,
.wp-block-categories li a:before,
.wp-block-page-list li a:before,
.wp-block-latest-comments li:before {
  color: #9f9f9f;
  content: "\f187";
  font-family: "FontAwesome";
  font-size: 13px;
  left: 0;
  position: absolute;
  top: 0px;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.widget_categories a::before,
.wp-block-categories li a:before {
  content: "\f07b";
}

.widget_recent_entries a::before,
.wp-block-latest-posts li a:before {
  content: "\f101";
}

.widget_meta a::before,
.widget_nav_menu li a:before {
  content: "\f105";
}

.widget_recent_comments li::before,
.wp-block-latest-comments li:before {
  content: "\f086";
  top: 0;
}

.widget_rss li::before {
  content: "\f09e";
  top: 0;
}

.widget_pages li a:before,
.wp-block-page-list li a:before {
  content: "\f1ea";
  top: 0;
}

.widget_search .search-field {
  width: 75%;
  float: left;
}

.widget_search .search-submit {
  height: 36px;
  width: 25%;
  background: #9f0100;
  border-color: #9f0100;
  color: #ffffff;
}

.widget_recent_entries .post-date {
  color: #8f8f8f;
  display: block;
  font-size: 11px;
  margin-top: -5px;
  padding-left: 24px;
}

.widget_nav_menu .sub-menu {
  margin-bottom: -10px;
  margin-top: 10px;
  padding-left: 10px;
}

.widget_nav_menu li::before {
  top: 0;
}

.widget_tag_cloud .tagcloud a,
.widget_tag_cloud a {
  color: #909090;
  font-size: 14px !important;
  border: 1px solid #cfcfcf;
  padding: 1px 10px;
  display: inline-block;
  margin: 0 5px 10px 0;
  border-radius: 2px;
}

.widget_tag_cloud .tagcloud a:hover,
.widget.widget_tag_cloud a:hover {
  background: #9f0100;
  color: #fff;
  border-color: #9f0100;
}

.wp-block-search__button {
  background: #333;
  border: none;
  width: 80px;
  margin: 0;
  height: 36px;
  line-height: 36px;
  padding: 0 20px;
}

/*--------------------------------------------------------------
Posts and pages
--------------------------------------------------------------*/

.sticky {
  display: block;
}

h1.entry-title {
  color: #353535;
  font-weight: 700;
  margin-bottom: 0;
  padding-bottom: 0;
  text-transform: capitalize;
}

h1.entry-title a {
  color: #3d3d3d;
}

.hentry {
  margin: 0 0 15px;
}

.single .byline,
.group-blog .byline,
.posted-on,
.blog-author,
.blog-cat {
  display: inline;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
}

.cat-links {
  margin-right: 10px;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 15px 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 15px;
}

.edit-link .post-edit-link {
  background: #9f0100;
  padding: 4px 10px;
  color: #FFF !important;
  line-height: 1;
  border-radius: 3px;
  font-size: 13px;
}

.edit-link .post-edit-link:before {
  content: "\f044";
  font-family: FontAwesome;
  margin-right: 5px;
}

#blog-post article.hentry,
.search article.hentry,
.archive article.hentry,
.tag article.hentry,
.category article.hentry,
.blog article.hentry {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.blog article.hentry:first-child {
  margin-top: 30px;
}

article.hentry .edit-link {
  display: block;
  margin-top: 20px;
}

article.hentry h1.entry-title {
  margin-bottom: 5px;
  line-height: 1.2;
}

article.hentry .entry-footer>span {
  margin-right: 15px;
  font-size: 13px;
}

.page-header .page-title {
  color: #333333;
  padding-bottom: 15px;
}

.posted-on:before {
  content: "\f073";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.cat-links:before {
  content: "\f07c";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.comments-link:before {
  content: "\f075";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.byline:before {
  content: "\f007";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.tags-links:before {
  content: "\f02c";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 3px;
}

.entry-footer .tags-links a {
  border: 1px solid #e1e1e1;
  display: inline-block;
  margin: 0 5px;
  padding: 0 10px;
}

.updated {
  display: none;
}

.published.updated {
  display: inline-block;
}

.entry-footer a {
  color: #999;
}

.entry-footer a:hover {
  color: #9f0100
}

.nav-links .meta-nav {
  display: none;
}

.nav-links .nav-previous,
.nav-links .nav-next {
  width: 50%;
  float: left;
}

.nav-links .nav-next {
  text-align: right;
  float: right;
}

.nav-links .nav-previous a:before {
  content: "\f0d9";
  font-family: FontAwesome;
  font-style: normal;
  margin-right: 5px;
}

.nav-links .nav-next a:after {
  content: "\f0da";
  font-family: FontAwesome;
  font-style: normal;
  margin-left: 5px;
}

.nav-links .nav-previous,
.nav-links .nav-next {
  float: left;
  width: 25%;
}

.nav-links .nav-next {
  float: right;
}

.nav-links .nav-next a,
.nav-links .nav-previous a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-thumbnail {
  width: 38%;
  float: left;
}

.entry-excerpt {
  width: 60%;
  float: right;
}

.short-content {
  margin-bottom: 10px;
}

.short-content+.bttn {
  float: right;
}

.entry-footer {
  margin-top: 10px;
}

.full-width {
  float: none;
  width: 100%;
}



/*--------------------------------------------------------------
Asides
--------------------------------------------------------------*/

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}



/*--------------------------------------------------------------
Comments
--------------------------------------------------------------*/

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

#comments h2.comments-title {
  color: #333;
  display: inline-block;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  margin: 15px 0;
  padding: 8px 15px;
}

#comments h3 {
  margin: 0 0 10px;
  color: #141414;
  font-weight: 600;
  display: inline-block;
  line-height: 22px;
  font-size: 18px;
}

#commentform label {
  width: 120px;
  display: block;
}

textarea#comment {
  width: 100%;
  height: 150px;
}



/*Comment Lists*/

.comments-area ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-area ol.children {
  margin: 0 0 0 15px;
}

.comment-list .comment-body {
  padding: 15px;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-top: 2px solid #9f0100;
}

.comment-author img {
  vertical-align: text-top;
  margin-right: 15px;
}

.comment-metadata {
  margin-top: -10px;
  padding-left: 57px;
}

.comment-content {
  padding-left: 58px;
  margin-top: 10px;
}

.comment-author .fn {
  font-style: normal;
  font-size: 16px;
  text-transform: capitalize;
  font-weight: bold;
}

.comment-author .fn .url {
  color: #333;
  padding: 0 5px;
}

.comment-author .fn .url:hover {
  color: #9f0100;
}

.comment-author .says {
  display: none;
}

.commentmetadata {
  float: right;
  font-weight: normal;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
}

.commentmetadata a {
  color: #666;
}

.commentmetadata .comment-edit-link {
  color: #01AEFD;
}

.commentmetadata+.clear {
  margin-bottom: 20px;
}

.reply .comment-reply-link {
  background: none repeat scroll 0 0 #9f0100;
  border-radius: 3px;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1;
  padding: 5px 10px;
}

#respond {
  background: #f9f9f9 none repeat scroll 0 0;
  color: #141414;
  margin-top: 40px;
  padding: 20px;
}

#commentform .form-submit {
  margin-bottom: 0;
}

#cancel-comment-reply-link {
  font-style: italic;
  color: #9f0100;
}

#cancel-comment-reply-link:before {
  font-family: FontAwesome;
  content: "\f057";
  margin: 0 5px 0 20px;
  font-style: normal;
  color: #9f0100;
}

.logged-in-as a {
  color: #9f0100;
}

.reply {
  margin-left: 55px;
}

/*--------------------------------------------------------------
Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .paging-navigation,


/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}



/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

.infinity-end.neverending .site-footer {
  display: block;
}

#infinite-footer {
  display: none;
}



/*--------------------------------------------------------------
Media
--------------------------------------------------------------*/

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption {
  border: 1px solid #ccc;
  margin-bottom: 15px;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}

.wp-caption-text {
  text-align: center;
}

.wp-caption .wp-caption-text {
  margin: 10px 0;
}

.site-main .gallery {
  margin-bottom: 1.5em;
}

.gallery-caption {}

.site-main .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}

.site-main .gallery dd,
.site-main .gallery figcaption {
  margin: 0;
}

.site-main .gallery-columns-4 .gallery-item {}

.site-main .gallery-columns-4 .gallery-item img {}



/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object {
  max-width: 100%;
}



/*--------------------------------------------------------------
Galleries
--------------------------------------------------------------*/

.gallery {
  margin-bottom: 1.5em;
  margin-left: -2%;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  margin-bottom: 3%;
  margin-left: 2%;
}

.site-main .gallery a img {
  max-width: none;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 47%;
}

.gallery-columns-3 .gallery-item {
  max-width: 31.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
}

.gallery-columns-5 .gallery-item {
  max-width: 18%;
}

.gallery-columns-6 .gallery-item {
  max-width: 14.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 12.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 10.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 9.11%;
}

.gallery-caption {
  display: block;
}



/*--------------------------------------------------------------
Grid CSS
--------------------------------------------------------------*/

.mt-column-wrapper {
  margin-left: -2%;
}

.mt-column-1 {
  float: left;
  width: 98%;
  margin-left: 2%;
}

.mt-column-2 {
  float: left;
  width: 48%;
  margin-left: 2%;
}

.mt-column-3 {
  float: left;
  width: 31.33%;
  margin-left: 2%;
}

.mt-column-4 {
  float: left;
  width: 23%;
  margin-left: 2%;
}


/*--------------------------------------------------------------
Sidebar layout css 
--------------------------------------------------------------*/

#primary,
.home.blog #primary {
  float: left;
  width: 70%;
}

#secondary,
.home.blog #secondary {
  float: right;
  width: 27%;
}

/*added for latest post page*/
.home.blog.left-sidebar #primary {
  float: right;
}

/*added for latest post page*/
.home.blog.left-sidebar #secondary {
  float: left;
}

.page-template-magazine-template #primary {
  float: none;
  width: 100%;
}

.left-sidebar #primary {
  float: right;
}

.left-sidebar #secondary {
  float: left;
}

.no-sidebar #primary {
  float: none;
  width: 100%;
  margin: 0 auto;
}

/*added for latest post page*/
.home.blog.no-sidebar #primary {
  float: none;
  width: 100%;
  margin: 0 auto;
}

.no-sidebar #secondary {
  display: none;
}

.no-sidebar-center #primary {
  float: none;
  margin: 0 auto;
}

/*added for latest post page*/
.home.blog.no-sidebar-center #primary {
  float: none;
  margin: 0 auto;
}

.home.blog #content .mt-container {
  margin: 20px auto;
}

.home.blog #content #primary article:first-child {
  margin-top: 0;
}



/*--------------------------------------------------------------
COMMON CSS
--------------------------------------------------------------*/

body {
  font-weight: 400;
  overflow: hidden;
  position: relative;
  font-family: 'Roboto', sans-serif;
  line-height: 1.8;
}

.boxed_layout #page {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  width: 1200px;
  background: #ffffff;
}

body.fullwidth-layout #page {
  background: #fff none repeat scroll 0 0;
}

.mt-container {
  width: 1170px;
  margin: 0 auto;
}

.hide {
  display: none;
}


/*--------------------------------------------------------------
Header CSS
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Top Header CSS
--------------------------------------------------------------*/

.np-top-header-wrap {
  background: #9f0100 none repeat scroll 0 0;
  color: #fff;
  padding: 8px 0;
}

.np-top-left-section-wrapper {
  float: left;
  font-size: 12px;
}

.np-top-left-section-wrapper .date-section {
  float: left;
  margin-right: 10px;
}

.np-top-left-section-wrapper .date-section::before {
  content: "\f017";
  display: inline-block;
  font-family: FontAwesome;
  margin-right: 8px;
}

.top-navigation {
  float: left;
}

.top-navigation ul {
  list-style: outside none none;
  margin: 0;
}

.top-navigation ul li {
  border-left: 1px solid #fff;
  display: inline-block;
  line-height: 12px;
  padding: 0 10px;
}

.top-navigation ul li a {
  color: #fff;
}


.np-top-right-section-wrapper {
  float: right;
}

.np-top-right-section-wrapper .social-link {
  display: block;
  float: left;
  margin-top: -5px;
}

.np-top-right-section-wrapper .social-link a {
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 12px;
  margin: 6px 0 0 14px;
}

#masthead .site-branding {
  float: left;
  margin: 20px 0;
}

#masthead .np-header-ads-area {
  float: right;
}

#masthead .np-header-ads-area .news_portal_ads_banner {
  margin: 0;
  padding: 0;
}

.np-logo-section-wrapper {
  padding: 20px 0;
}

.top-navigation ul.sub-menu,
.footer-navigation ul.sub-menu {
  display: none;
}


/*--------------------------------------------------------------
## Menu Header CSS
--------------------------------------------------------------*/
.site-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 0;
}

.site-description {
  margin: 0;
}

.np-header-menu-wrapper {
  background: #9f0100 none repeat scroll 0 0;
  margin-bottom: 20px;
  position: relative;
}

.np-header-menu-wrapper .mt-container {
  position: relative;
}

.np-header-menu-wrapper .mt-container::before {
  background: rgba(0, 0, 0, 0) url("assets/images/menu-shadow.png") no-repeat scroll center top;
  content: "";
  height: 38px;
  left: 50%;
  margin-left: -480px;
  opacity: 1;
  position: absolute;
  top: 100%;
  width: 960px;
}

.np-home-icon a {
  color: #fff !important;
  display: block;
  float: left;
  font-size: 14px;
  line-height: 40px;
  padding: 0 12px;
  position: relative;
}

.home .np-home-icon a,
.np-home-icon a:hover {
  background: #028a9a none repeat scroll 0 0;
}

#site-navigation {
  float: left;
}

#site-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-navigation ul li {
  display: inline-block;
  line-height: 40px;
  margin-right: -3px;
  position: relative;
}

#site-navigation ul li a {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  color: #fff;
  display: block;
  padding: 0 15px;
  position: relative;
  text-transform: capitalize;
}

#site-navigation ul ul.children li a {
  line-height: 25px;
  padding: 8px 15px;
}

#site-navigation ul li:hover>a,
#site-navigation ul li.current-menu-item>a,
#site-navigation ul li.current_page_item>a,
#site-navigation ul li.current-menu-ancestor>a,
#site-navigation ul li.focus>a {
  background: #028a9a;
}

#site-navigation ul.sub-menu,
#site-navigation ul.children {
  background: #9f0100 none repeat scroll 0 0;
  width: 200px;
  position: absolute;
  z-index: 99;
  left: -9999rem;
  opacity: 0;
  -webkit-transform: translateY(0.6rem);
  -ms-transform: translateY(0.6rem);
  -o-transform: translateY(0.6rem);
  transform: translateY(0.6rem);
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
}

#site-navigation ul li:hover>ul.sub-menu,
#site-navigation ul li:hover>ul.children,
#site-navigation ul li.focus>ul.sub-menu,
#site-navigation ul li.focus>ul.children {
  left: 0;
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
}

#site-navigation ul li.focus>ul.sub-menu,
#site-navigation ul li.focus>ul.children {
  opacity: 1;
  visibility: visible;
  -transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
}

#site-navigation ul.sub-menu li,
#site-navigation ul.children li {
  float: none;
  display: block;
  border-bottom: 1px solid #e1e1e1;
  margin: 0;
}

#site-navigation ul.sub-menu li a,
#site-navigation ul.children li a {
  line-height: 24px;
  padding: 10px 15px;
}

#site-navigation ul.sub-menu li:last-child,
#site-navigation ul.children li:last-child {
  border: none;
}

#site-navigation ul.sub-menu li ul,
#site-navigation ul.children li ul {
  right: 9999em;
  left: auto !important;
  top: 0% !important;
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, right 0s 0.15s;
}


#site-navigation ul.sub-menu li:hover>ul,
#site-navigation ul.children li:hover>ul,
#site-navigation ul.sub-menu li.focus>ul,
#site-navigation ul.children li.focus>ul {
  right: -100%;
  left: auto !important;
  top: 0% !important;
  -webkit-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  -o-transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
  transition: opacity 0.15s linear, transform 0.15s ease, left 0s 0.15s;
}


#site-navigation ul li.menu-item-has-children>a:before,
#site-navigation ul li.page_item_has_children>a:before {
  content: "\f107";
  font-family: FontAwesome;
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 12px;
}

#site-navigation ul.sub-menu li.menu-item-has-children>a:before,
#site-navigation ul.children li.page_item_has_children>a:before {
  content: "\f105";
}

#site-navigation ul#primary-menu li.menu-item-has-children a,
#site-navigation #primary-menu li.page_item_has_children a {
  padding-right: 30px;
}

.home .np-home-icon a::after,
.np-home-icon a:hover::after,
#site-navigation ul#primary-menu>li:hover>a:after,
#site-navigation ul#primary-menu>li.current-menu-item>a::after,
#site-navigation ul#primary-menu>li.focus>a:after {
  border-bottom: 5px solid #fff;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  bottom: 0;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
}

/* Prevent duplicate active state when both Home Icon and "Trang chủ" menu item exist */
.home .np-home-icon + .mt-header-menu-wrap #site-navigation ul#primary-menu > li.menu-item-home.current-menu-item > a,
.home .np-home-icon ~ .mt-header-menu-wrap #site-navigation ul#primary-menu > li.menu-item-home.current-menu-item > a {
  background: transparent !important;
}

.home .np-home-icon + .mt-header-menu-wrap #site-navigation ul#primary-menu > li.menu-item-home.current-menu-item > a::after,
.home .np-home-icon ~ .mt-header-menu-wrap #site-navigation ul#primary-menu > li.menu-item-home.current-menu-item > a::after {
  display: none !important;
}

.np-header-menu-wrapper::before,
.np-header-menu-wrapper::after {
  background: #9f0100 none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: -5px;
  position: absolute;
  top: 0;
  width: 5px;
  z-index: 99;
}

.np-header-menu-wrapper::after {
  left: auto;
  right: -5px;
  visibility: visible;
}

.np-header-menu-block-wrap::before,
.np-header-menu-block-wrap::after {
  border-bottom: 5px solid transparent;
  border-right: 5px solid #03717f;
  border-top: 5px solid transparent;
  bottom: -6px;
  content: "";
  height: 0;
  left: -5px;
  position: absolute;
  width: 5px;
}

.np-header-menu-block-wrap::after {
  left: auto;
  right: -5px;
  transform: rotate(180deg);
  visibility: visible;
}

.is-sticky .np-header-menu-wrapper {
  z-index: 99;
}

#site-navigation ul li a.sub-toggle {
  display: none;
}
/*--------------------------------------------------------------
## Header Switcher & Search CSS
--------------------------------------------------------------*/
.np-icon-elements-wrapper {
  float: right;
}

.np-icon-elements {
  float: left;
  margin: 10px 20px 10px 0;
}

.np-icon-elements a {
  display: block;
  height: 20px;
  width: 40px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.75);
  position: relative;
  transition: .25s;
  font-size: 0;
}

.np-icon-elements a span {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  transition: all ease-in-out .3s;
}

.np-icon-elements a.dark-mode span {
  left: 24px;
}

.np-icon-elements a.light-mode span:after {
  height: 12px;
  width: 12px;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  color: #111;
  transition: all ease-in-out .3s;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000000' d='M9.5 14.993c-2.477 0-4.493-2.015-4.493-4.493s2.015-4.493 4.493-4.493 4.493 2.015 4.493 4.493-2.015 4.493-4.493 4.493zM9.5 7.007c-1.926 0-3.493 1.567-3.493 3.493s1.567 3.493 3.493 3.493 3.493-1.567 3.493-3.493-1.567-3.493-3.493-3.493z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M9.5 5c-0.276 0-0.5-0.224-0.5-0.5v-3c0-0.276 0.224-0.5 0.5-0.5s0.5 0.224 0.5 0.5v3c0 0.276-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M9.5 20c-0.276 0-0.5-0.224-0.5-0.5v-3c0-0.276 0.224-0.5 0.5-0.5s0.5 0.224 0.5 0.5v3c0 0.276-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M3.5 11h-3c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M18.5 11h-3c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M4.5 6c-0.128 0-0.256-0.049-0.354-0.146l-2-2c-0.195-0.195-0.195-0.512 0-0.707s0.512-0.195 0.707 0l2 2c0.195 0.195 0.195 0.512 0 0.707-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M2.5 18c-0.128 0-0.256-0.049-0.354-0.146-0.195-0.195-0.195-0.512 0-0.707l2-2c0.195-0.195 0.512-0.195 0.707 0s0.195 0.512 0 0.707l-2 2c-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M16.5 18c-0.128 0-0.256-0.049-0.354-0.146l-2-2c-0.195-0.195-0.195-0.512 0-0.707s0.512-0.195 0.707 0l2 2c0.195 0.195 0.195 0.512 0 0.707-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3Cpath fill='%23000000' d='M14.5 6c-0.128 0-0.256-0.049-0.354-0.146-0.195-0.195-0.195-0.512 0-0.707l2-2c0.195-0.195 0.512-0.195 0.707 0s0.195 0.512 0 0.707l-2 2c-0.098 0.098-0.226 0.146-0.354 0.146z'%3E%3C/path%3E%3C/svg%3E");
}

.np-icon-elements a.dark-mode span::after {
  background-repeat: no-repeat;
  background-size: 12px 12px;
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  line-height: 1;
  color: #111;
  transition: all ease-in-out .3s;
  opacity: 1;
  visibility: visible;
  height: 12px;
  width: 12px;
}

.np-icon-elements a.dark-mode span:after {
  height: 10px;
  width: 10px;
  background-size: 10px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-moon' viewBox='0 0 16 16'%3E%3Cpath d='M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278zM4.858 1.311A7.269 7.269 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.316 7.316 0 0 0 5.205-2.162c-.337.042-.68.063-1.029.063-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286z'/%3E%3C/svg%3E");
}

.np-icon-elements a.dark-mode {
  background: #6f6f6f;
}


.np-header-search-wrapper {
  float: right;
  position: relative;
}

.search-main {
  display: block;
  line-height: 40px;
  cursor: pointer;
  color: #ffffff;
}

.search-main a,
.search-main a:focus,
.search-main a:hover {
  color: #ffffff;
}

.np-header-search-wrapper .search-form-main {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.15);
  border-top: 2px solid #9f0100;
  padding: 15px;
  position: absolute;
  right: 0;
  top: 130%;
  width: 300px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.np-header-search-wrapper .search-form-main:before {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #9f0100;
  content: "";
  position: absolute;
  right: 15px;
  top: -10px;
}

.np-header-search-wrapper .search-form-main .search-submit {
  border: medium none;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  display: inline-block;
  padding: 10px 0 10px;
  width: 20%;
  height: 36px;
  background: #9f0100;
}

.search-form-main.active-search {
  opacity: 1;
  visibility: visible;
}

.menu-toggle {
  color: #333;
  display: none;
  float: left;
  font-size: 20px;
  padding: 2px 15px;
}

.sub-toggle {
  display: none;
}


/*--------------------------------------------------------------
Ticker CSS
--------------------------------------------------------------*/

.np-ticker-block {
  border: 1px solid #e1e1e1;
  margin: 30px 0;
  position: relative;
}

.ticker-caption {
  background: #464646 none repeat scroll 0 0;
  color: #fff;
  display: block;
  float: left;
  margin-right: 20px;
  padding: 5px 15px;
}

.ticker-content-wrapper {
  display: block;
  float: left;
  width: 80%;
}

.ticker-content-wrapper .post-cats-list {
  float: left;
  margin-right: 15px;
}

.ticker-content-wrapper .lslide.active {
  height: auto !important;
}

.ticker-content-wrapper .cS-hidden {
  opacity: 1;
}

.news-ticker-title>a {
  color: #333;
  display: block;
  margin: 5px 0 0;
}

.np-ticker-block .lSAction {
  position: absolute;
  right: 10px;
  top: 5px;
}

.np-ticker-block .lSAction>a {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  display: inline-block;
  height: auto;
  margin: 0 5px !important;
  position: static;
  width: auto;
  opacity: 1;
}

.np-ticker-block .lSSlideOuter.vertical,
.np-ticker-block .lSSlideWrapper,
.np-ticker-block .lSSlideWrapper .lSFade {
  position: static;
}

.post-cats-list span {
  display: inline-block;
  vertical-align: top;
}

.post-cats-list a {
  background: #9f0100;
  color: #fff !important;
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-right: 5px;
  padding: 1px 12px;
  text-transform: capitalize;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.post-cats-list a:hover {
  background: #6d0100;
}


/*--------------------------------------------------------------
Slider CSS
--------------------------------------------------------------*/

.news_portal_slider .lSAction>a {
  background: none;
}

.news_portal_featured_slider {
  margin: 0 0 25px;
}

.news_portal_featured_slider .np-block-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.news_portal_featured_slider .slider-posts {
  float: none;
  width: 50%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.news_portal_featured_slider .slider-posts .np-single-slide-wrap {
  height: 420px;
  position: relative;
  overflow: hidden;
  background: #111;
}

.news_portal_featured_slider .slider-posts .np-slide-thumb,
.news_portal_featured_slider .slider-posts .np-slide-thumb a {
  display: block;
  height: 420px;
  width: 100%;
  overflow: hidden;
}

.news_portal_featured_slider .slider-posts .np-slide-thumb img {
  width: 100%;
  height: 420px !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: top;
  display: block;
}

.news_portal_slider {
  float: none;
  margin-bottom: 20px;
  padding-bottom: 10px;
  width: 100%;
}

.np-single-slide-wrap,
.news_portal_carousel .np-single-post,
.news_portal_block_posts .layout3 .np-primary-block-wrap {
  position: relative;
}

.np-slide-content-wrap,
.news_portal_carousel .np-single-post .np-post-content,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-content {
  bottom: 0;
  left: 0;
  padding: 20px;
  position: absolute;
  width: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)) repeat scroll 0 0;
  box-sizing: border-box;
  z-index: 2;
}

.np-slide-content-wrap .post-title,
.news_portal_featured_posts .np-single-post .np-post-content .np-post-title,
.news_portal_carousel .np-single-post .np-post-title,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-title {
  line-height: 26px;
  margin: 5px 0;
}

.np-slide-content-wrap .post-title a,
.news_portal_featured_posts .np-single-post .np-post-content .np-post-title a,
.news_portal_carousel .np-single-post .np-post-title a,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-title a {
  color: #fff;
  font-size: 20px;
  text-transform: capitalize;
}

.np-slide-content-wrap .post-title a:hover,
.news_portal_featured_posts .np-single-post .np-post-content .np-post-title a:hover,
.news_portal_carousel .np-single-post .np-post-title a:hover,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-single-post .np-post-title a:hover {
  color: #9f0100;
}

.np-slide-content-wrap .np-post-meta span,
.np-slide-content-wrap .np-post-meta span a,
.news_portal_featured_posts .np-single-post .np-post-meta span,
.news_portal_featured_posts .np-single-post .np-post-meta span a {
  color: #cccccc;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}

.np-slide-content-wrap .np-post-meta span,
.news_portal_featured_posts .np-single-post .np-post-meta span {
  margin-right: 15px;
}

.news_portal_featured_slider .slider-posts .lSAction {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 5;
}

.news_portal_featured_slider .slider-posts .lSAction>a {
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 32px;
  margin: 0 2px;
  opacity: 1;
  position: static;
  text-align: center;
}

.news_portal_featured_slider .slider-posts .lSAction>a:hover {
  background: #9f0100;
  color: #fff;
}

.news_portal_featured_slider .featured-posts {
  float: none;
  width: 50%;
  padding: 0 0 0 6px;
  box-sizing: border-box;
}

.news_portal_featured_slider .featured-posts .featured-posts-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.news_portal_featured_slider .featured-posts .np-single-post-wrap {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  box-sizing: border-box;
}

.news_portal_featured_slider .featured-posts .np-single-post {
  position: relative;
  height: 207px;
  overflow: hidden;
  background: #111;
  border-radius: 2px;
}

.news_portal_featured_slider .featured-posts .np-post-thumb,
.news_portal_featured_slider .featured-posts .np-post-thumb a {
  display: block;
  height: 207px;
  width: 100%;
  overflow: hidden;
}

.news_portal_featured_slider .featured-posts .np-post-thumb img {
  width: 100%;
  height: 207px !important;
  max-height: 207px !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.news_portal_featured_slider .featured-posts .np-single-post:hover .np-post-thumb img {
  transform: scale(1.05);
  opacity: 0.9;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0) 100%);
  box-sizing: border-box;
  z-index: 2;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title {
  line-height: 1.35;
  margin: 4px 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title a {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title a:hover {
  color: #9f0100;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-meta span,
.news_portal_featured_slider .featured-posts .np-single-post .np-post-meta span a {
  font-size: 11px;
  color: #ccc;
}

@media (max-width: 991px) {
  .news_portal_featured_slider .slider-posts,
  .news_portal_featured_slider .featured-posts {
    width: 100%;
    float: none;
    padding-left: 0;
  }
  .news_portal_featured_slider .featured-posts {
    margin-top: 6px;
  }
  .news_portal_featured_slider .slider-posts .np-single-slide-wrap,
  .news_portal_featured_slider .slider-posts .np-slide-thumb,
  .news_portal_featured_slider .slider-posts .np-slide-thumb a,
  .news_portal_featured_slider .slider-posts .np-slide-thumb img {
    height: 340px !important;
    max-height: 340px !important;
  }
}

@media (max-width: 480px) {
  .news_portal_featured_slider .featured-posts .featured-posts-wrapper {
    grid-template-columns: 1fr;
  }
  .news_portal_featured_slider .slider-posts .np-single-slide-wrap,
  .news_portal_featured_slider .slider-posts .np-slide-thumb,
  .news_portal_featured_slider .slider-posts .np-slide-thumb a,
  .news_portal_featured_slider .slider-posts .np-slide-thumb img {
    height: 240px !important;
    max-height: 240px !important;
  }
}

.np-home-top-section .news_portal_featured_posts .np-block-wrapper {
  background: #f2f2f2 none repeat scroll 0 0;
  padding: 20px;
}

.news_portal_featured_posts .np-featured-posts-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-left: -2%;
}

.news_portal_featured_posts .np-single-post-wrap {
  margin-left: 2%;
  margin-bottom: 20px;
  width: 23%;
  box-sizing: border-box;
}

.news_portal_featured_posts .np-single-post {
  display: flex;
  align-items: flex-start;
}

.news_portal_featured_posts .np-single-post .np-post-content {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  padding: 0;
  position: static;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-thumb {
  flex: 0 0 42%;
  max-width: 42%;
  width: 42%;
  overflow: hidden;
  /* border-radius: 4px; */
  background: #f1f5f9;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-thumb a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-thumb img,
.middle-primary .news_portal_featured_posts .np-single-post img,
.np_tabbed_featured_posts .np-post-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.news_portal_featured_posts .np-single-post:hover .np-post-thumb img {
  transform: scale(1.05);
  opacity: 0.9;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content {
  flex: 0 0 54%;
  max-width: 54%;
  width: 54%;
  margin-left: 4%;
}

.news_portal_featured_posts .post-cats-list {
  margin-bottom: 6px;
}

.news_portal_featured_posts .post-cats-list span {
  margin-bottom: 4px;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title a {
  color: #333;
  font-size: 14px;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title a:hover {
  color: #9f0100;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-title {
  line-height: 20px;
  margin: 0 0 2px;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta .byline {
  display: block;
}

.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span,
.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span a {
  color: #989898;
}

/*--------------------------------------------------------------
Tabbed Featured Posts Widget CSS
--------------------------------------------------------------*/
.tabbed-featured-posts .np-tabbed-title-bar {
  display: flex;
  align-items: stretch;
  background: #f7f7f7;
  border-top: 1px solid #e1e1e1;
  border-bottom: 2px solid #9f0100;
  border-left: none;
  border-right: none;
  margin-bottom: 25px;
  position: relative;
  min-height: 40px;
  box-sizing: border-box;
}

.tabbed-featured-posts .np-tabbed-title-bar.tabs-only {
  justify-content: flex-start;
}

.tabbed-featured-posts .np-tabbed-title-bar.has-block-title {
  justify-content: space-between;
}

.tabbed-featured-posts .np-tabbed-main-title {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 8px 18px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  text-transform: uppercase;
  color: #9f0100 !important;
  display: flex;
  align-items: center;
}

.tabbed-featured-posts .np-tabbed-nav-tabs {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabbed-featured-posts .np-tabbed-nav-tabs::-webkit-scrollbar {
  display: none;
}

.tabbed-featured-posts .np-tab-nav-item {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: stretch;
  position: relative;
}

.tabbed-featured-posts a.np-tab-nav-link,
.tabbed-featured-posts button.np-tab-nav-link,
.tabbed-featured-posts .np-tab-nav-link {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #2b2b2b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  text-transform: uppercase !important;
  padding: 10px 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  outline: none !important;
  line-height: 20px !important;
  height: auto !important;
  text-decoration: none !important;
  font-family: inherit !important;
}

.tabbed-featured-posts a.np-tab-nav-link:hover,
.tabbed-featured-posts button.np-tab-nav-link:hover,
.tabbed-featured-posts .np-tab-nav-link:hover {
  color: #9f0100 !important;
  background: rgba(159, 1, 0, 0.08) !important;
}

.tabbed-featured-posts .np-tab-nav-item.active a.np-tab-nav-link,
.tabbed-featured-posts .np-tab-nav-item.active button.np-tab-nav-link,
.tabbed-featured-posts .np-tab-nav-item.active .np-tab-nav-link {
  background: #9f0100 !important;
  color: #ffffff !important;
}

.tabbed-featured-posts .np-tab-panel {
  display: none;
}

.tabbed-featured-posts .np-tab-panel.active {
  display: block;
  animation: npTabFadeIn 0.3s ease;
}

@keyframes npTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabbed-featured-posts .np-no-posts-found {
  padding: 30px 15px;
  text-align: center;
  color: #888888;
  font-style: italic;
  width: 100%;
}

@media (max-width: 640px) {
  .tabbed-featured-posts .np-tabbed-title-bar {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  .tabbed-featured-posts .np-tabbed-nav-tabs {
    width: 100%;
  }
  .tabbed-featured-posts a.np-tab-nav-link,
  .tabbed-featured-posts button.np-tab-nav-link,
  .tabbed-featured-posts .np-tab-nav-link {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
}

/*--------------------------------------------------------------
Block Post Widget CSS
--------------------------------------------------------------*/

.np-post-thumb,
.np-slide-thumb {
  overflow: hidden;
}

.np-post-thumb img,
.np-slide-thumb img {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1) rotate(0deg);
  -ms-transform: scale(1) rotate(0deg);
  -o-transform: scale(1) rotate(0deg);
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.np-post-thumb:hover img,
.np-slide-thumb:hover img {
  -webkit-transform: scale(1.05) rotate(1deg);
  -ms-transform: scale(1.05) rotate(1deg);
  -o-transform: scale(1.05) rotate(1deg);
  transform: scale(1.05) rotate(1deg);
  opacity: 0.8;
}

.np-home-middle-section .middle-primary {
  float: left;
  width: 67%;
}

.np-home-middle-section .middle-aside {
  float: right;
  width: 31%;
}

.np-block-title,
.widget-title,
.page-header .page-title,
.np-related-title,
.widget_block .wp-block-group__inner-container>h1,
.widget_block .wp-block-group__inner-container>h2,
.widget_block .wp-block-group__inner-container>h3,
.widget_block .wp-block-group__inner-container>h4,
.widget_block .wp-block-group__inner-container>h5,
.widget_block .wp-block-group__inner-container>h6 {
  background: #f7f7f7 none repeat scroll 0 0;
  border: 1px solid #e1e1e1;
  font-size: 16px;
  margin: 0 0 20px;
  padding: 6px 20px;
  text-transform: uppercase;
  border-left: none;
  border-right: none;
  color: #9f0100;
  text-align: left;
}

.news_portal_block_posts .np-primary-block-wrap {
  float: left;
  width: 48%;
}

.news_portal_block_posts .np-secondary-block-wrap {
  float: right;
  width: 49%;
}

.np-post-title.large-size a,
.np-post-title.small-size a {
  color: #333;
  display: block;
  font-size: 16px;
}

.np-post-title.large-size,
.np-post-title.small-size {
  margin: 15px 0 10px;
  text-transform: capitalize;
}

.np-post-meta span,
.np-post-meta span a {
  color: #a6a6a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: inline-block;
}

.np-post-meta span:hover,
.np-post-meta span a:hover,
.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span:hover,
.news_portal_featured_posts .np-single-post-wrap .np-post-content .np-post-meta span a:hover {
  color: #9f0100;
}

.np-post-meta span {
  margin-right: 15px;
}

.np-post-excerpt {
  margin-top: 12px;
}

.np-post-excerpt p {
  margin-bottom: 0;
}

.np-secondary-block-wrap .np-post-thumb,
.news_portal_default_tabbed .np-post-thumb {
  float: left;
  width: 30%;
}

.np-secondary-block-wrap .np-post-content,
.news_portal_default_tabbed .np-post-content {
  float: right;
  width: 66%;
}

.np-post-title.small-size {
  margin-top: 0;
}

.np-post-title.small-size {
  line-height: 22px;
  margin: 2px 0 3px;
}

.np-post-title.small-size a {
  font-size: 14px;
  font-weight: 500;
}

.np-post-title.small-size a:hover {
  color: #9f0100
}

.np-secondary-block-wrap .np-single-post,
.news_portal_default_tabbed .np-single-post,
.news_portal_default_tabbed #comments ul li {
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.np-secondary-block-wrap .np-single-post:last-child,
.news_portal_default_tabbed .np-single-post:last-child,
.news_portal_default_tabbed #comments ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.np-secondary-block-wrap .np-post-meta span,
.np-secondary-block-wrap .np-post-meta span a,
.news_portal_default_tabbed .np-post-meta span,
.news_portal_default_tabbed .np-post-meta span a,
.np-related-posts-wrap .np-post-meta span,
.np-related-posts-wrap .np-post-meta span a {
  font-size: 12px;
}

.news_portal_block_posts .layout2 .np-primary-block-wrap,
.news_portal_block_posts .layout2 .np-secondary-block-wrap {
  margin-left: -3%;
  width: 103%;
}

.news_portal_block_posts .layout2 .np-primary-block-wrap {
  margin-bottom: 10px;
}

.news_portal_block_posts .layout2 .np-primary-block-wrap .np-single-post,
.news_portal_block_posts .layout2 .np-secondary-block-wrap .np-single-post {
  display: inline-block;
  float: none;
  margin-left: 3%;
  margin-right: -4px;
  vertical-align: top;
  width: 47%;
}

.news_portal_block_posts .layout2 .np-secondary-block-wrap .np-single-post:nth-child(4) {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 12px;
}

.news_portal_block_posts .layout3 .np-primary-block-wrap {
  width: 100%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap {
  margin-top: 20px;
  width: 102%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap {
  margin-left: -2%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post {
  border: medium none;
  float: left;
  margin-bottom: 0;
  margin-left: 2%;
  padding: 0;
  width: 31.33%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post .np-post-thumb,
.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post .np-post-content {
  float: none;
  width: 100%;
}

.news_portal_block_posts .layout3 .np-secondary-block-wrap .np-single-post .np-post-content {
  margin-top: 10px;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post {
  display: flex;
  flex-direction: column;
  width: 33.33%;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post .np-post-content {
  background: #f2f2f2 none repeat scroll 0 0;
  height: 242px;
  overflow: hidden;
  padding: 11px 15px 15px;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post:nth-child(2) {
  flex-direction: column-reverse;
}

.news_portal_block_posts .layout4 .np-block-posts-wrapper .np-alt-grid-post .np-post-content .np-post-excerpt {
  line-height: 27px;
  margin-top: 10px;
  overflow: hidden;
  height: 110px;
}


/*--------------------------------------------------------------
Featured Widget CSS
--------------------------------------------------------------*/

.middle-primary .news_portal_featured_posts .np-featured-posts-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-left: -2%;
}

.middle-primary .news_portal_featured_posts .np-single-post img {
  width: 100%;
}

.middle-primary .news_portal_featured_posts .np-single-post-wrap {
  float: none;
  width: 48%;
  margin-left: 2%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.middle-primary .news_portal_featured_posts .np-single-post-wrap:nth-child(2n+1) {
  clear: left;
}

.middle-aside .news_portal_featured_posts .np-single-post-wrap {
  margin-bottom: 20px;
  width: 98%;
}

.middle-aside .news_portal_featured_posts .np-single-post-wrap {
  width: 98%;
}

.middle-aside .news_portal_featured_posts .np-single-post-wrap:last-child {
  margin-bottom: 0;
}

.news_portal_default_tabbed ul.widget-tabs {
  margin: 0;
  list-style: none;
}

.news_portal_default_tabbed ul.widget-tabs li {
  background: #9f0100 none repeat scroll 0 0;
  display: inline-block;
  margin-right: -4px;
  padding: 5px 0;
  text-align: center;
  width: 50%;
  position: relative;
}

.news_portal_default_tabbed ul.widget-tabs li a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.news_portal_default_tabbed ul.widget-tabs li.ui-tabs-active,
.news_portal_default_tabbed ul.widget-tabs li:hover {
  background: #028A9A;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}


.news_portal_default_tabbed ul.widget-tabs li.ui-tabs-active:before,
.news_portal_default_tabbed ul.widget-tabs li:hover:before {
  border-bottom: 5px solid #fff;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  bottom: 0;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 0;
}

.news_portal_default_tabbed .np-tabbed-section {
  margin-top: 20px;
}

.news_portal_default_tabbed .np-tabbed-section {
  border: 1px solid #e1e1e1;
  border-top: none;
  margin-top: 0;
  padding: 20px;
}

.news_portal_default_tabbed .np-post-meta span {
  margin-right: 10px;
}

.news_portal_default_tabbed #comments ul {
  margin: 0;
  list-style: none;
}

.news_portal_default_tabbed #comments ul .np-comment-avatar {
  float: left;
  width: 25%;
}

.news_portal_default_tabbed #comments ul .np-comment-desc-wrap {
  float: right;
  width: 71%;
}

.news_portal_default_tabbed #comments ul .np-comment-avatar img {
  width: 100%;
}


/*--------------------------------------------------------------
Full width Widget CSS
--------------------------------------------------------------*/

.np-block-title-nav-wrap {
  position: relative;
}

.np-block-title-nav-wrap .carousel-nav-action {
  position: absolute;
  right: 0;
  top: 0;
}

.np-block-title-nav-wrap .carousel-nav-action .carousel-controls {
  background: #333 none repeat scroll 0 0;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  margin-left: 0;
  padding: 5px 13px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.np-block-title-nav-wrap .carousel-nav-action .carousel-controls:hover {
  background: #9f0100;
}


.news_portal_carousel .np-post-meta span,
.news_portal_carousel .np-post-meta span a,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-post-meta span,
.news_portal_block_posts .layout3 .np-primary-block-wrap .np-post-meta span a {
  color: #cfcfcf;
}


/*--------------------------------------------------------------
Recent Post Widget CSS
--------------------------------------------------------------*/

.news_portal_recent_posts .np-recent-posts-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-single-post {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ebebeb;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb {
  flex: 0 0 32%;
  max-width: 32%;
  width: 32%;
  float: none;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f5f9;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb a {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover !important;
  transition: transform 0.35s ease, opacity 0.3s ease;
  object-position: top;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-single-post:hover .np-post-thumb img {
  transform: scale(1.05);
  opacity: 0.9;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-content {
  flex: 0 0 65%;
  max-width: 65%;
  width: 65%;
  margin-left: 3%;
  float: none;
}

.middle-aside .news_portal_recent_posts .np-recent-posts-wrapper .np-single-post {
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.middle-aside .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb {
  flex: 0 0 36%;
  max-width: 36%;
  width: 36%;
}

.middle-aside .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb a,
.middle-aside .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb img {
  aspect-ratio: 4 / 3;
}

.middle-aside .news_portal_recent_posts .np-recent-posts-wrapper .np-post-content {
  flex: 0 0 60%;
  max-width: 60%;
  width: 60%;
  margin-left: 4%;
}

@media (max-width: 575px) {
  .news_portal_recent_posts .np-recent-posts-wrapper .np-single-post {
    flex-direction: column;
  }
  .news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-bottom: 12px;
  }
  .news_portal_recent_posts .np-recent-posts-wrapper .np-post-content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }
}

.news_portal_recent_posts .post-cats-list {
  margin-bottom: 5px;
}

.news_portal_recent_posts .post-cats-list span {
  margin-bottom: 4px;
}

/* WordPress Popular Posts (WPP) Integration Styles */
.wpp-recent-posts-block .np-recent-posts-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-single-post {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebebeb;
}

.wpp-recent-posts-block .np-recent-posts-wrapper li:last-child .np-single-post {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-post-thumb {
  flex: 0 0 36%;
  max-width: 36%;
  width: 36%;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f5f9;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-post-thumb a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-post-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-single-post:hover .np-post-thumb img {
  transform: scale(1.05);
  opacity: 0.9;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-post-content {
  flex: 0 0 60%;
  max-width: 60%;
  width: 60%;
  margin-left: 4%;
}

.wpp-recent-posts-block .np-recent-posts-wrapper .np-post-content .post-cats-list {
  margin-bottom: 4px;
}

.wpp-recent-posts-block .wpp-views-stat,
.wpp-views-stat,
.wpp-views {
  display: none !important;
}

@media (max-width: 575px) {
  .wpp-recent-posts-block .np-recent-posts-wrapper .np-single-post {
    flex-direction: column;
  }
  .wpp-recent-posts-block .np-recent-posts-wrapper .np-post-thumb {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-bottom: 10px;
  }
  .wpp-recent-posts-block .np-recent-posts-wrapper .np-post-content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }
}

.mt-social-icons-wrapper {
  text-align: center;
  margin-bottom: -20px;
}

.news_portal_social_media .social-link {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 10px;
}

.news_portal_social_media .social-link a {
  background: #9f0100 none repeat scroll 0 0;
  color: #fff;
  display: block;
  margin-right: 10px;
  padding: 7px 14px;
}

.news_portal_social_media .social-link a:hover {
  background: #028A9A;
}

.news_portal_ads_banner {
  text-align: center;
}


/*--------------------------------------------------------------
Footer CSS
--------------------------------------------------------------*/

#colophon {
  background: #000000 none repeat scroll 0 0;
  margin-top: 40px;
}

#top-footer {
  padding-top: 40px;
}

#top-footer .np-footer-widget-wrapper {
  margin-left: -2%;
}

#top-footer.footer_column_one .np-footer-widget,
#top-footer.footer_column_two .np-footer-widget,
#top-footer.footer_column_three .np-footer-widget,
#top-footer.footer_column_four .np-footer-widget {
  float: left;
  margin-left: 2%;
  width: 31.33%;
}

#top-footer .widget a,
#top-footer .widget a:before,
#top-footer .widget li:before {
  color: #cfcfcf;
}

#top-footer .widget a:hover,
#top-footer .widget a:hover:before,
#top-footer .widget li::hover:before {
  color: #9f0100;
}

#top-footer.footer_column_one .np-footer-widget {
  width: 98%;
}

#top-footer.footer_column_two .np-footer-widget {
  width: 48%;
}

#top-footer.footer_column_four .np-footer-widget {
  width: 23%;
}

#top-footer .widget-title {
  background: rgba(255, 255, 255, 0.2) none repeat scroll 0 0;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.bottom-footer {
  background: rgba(255, 255, 255, 0.1) none repeat scroll 0 0;
  color: #bfbfbf;
  font-size: 12px;
  padding: 10px 0;
}

.site-info {
  float: left;
}

#footer-navigation ul {
  float: right;
  list-style: outside none none;
  margin: 0;
}

#footer-navigation ul li {
  display: inline-block;
  vertical-align: top;
}

#footer-navigation ul li a {
  border-left: 2px solid #7f7f7f;
  color: #cfcfcf;
  margin-left: 10px;
  padding-left: 10px;
}

#footer-navigation ul li:first-child a {
  margin-left: 0;
  border-left: none;
}

#footer-navigation ul li a:hover {
  color: #9f0100;
}


/*--------------------------------------------------------------
Archive CSS
--------------------------------------------------------------*/

.archive article {
  border: none !important;
}

.np-archive-post-content-wrapper {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
}

.np-archive-post-content-wrapper:before {
  border-bottom: 15px solid #fff;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  content: "";
  left: 20px;
  position: absolute;
  top: -15px;
}

article.no-image .np-archive-post-content-wrapper:before {
  display: none;
}

.entry-meta>span {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  margin-right: 15px;
  text-transform: capitalize;
}

.entry-meta span a,
.entry-meta span {
  color: #767676;
  font-style: normal;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.np-archive-post-content-wrapper .entry-title {
  font-size: 20px;
  margin: 0 0 6px;
}

.np-archive-post-content-wrapper .entry-title a {
  color: #333;
}

.entry-title a:hover,
.entry-meta span a:hover,
.entry-meta span:hover {
  color: #9f0100;
}

.np-archive-more .np-button {
  background: #fafafa none repeat scroll 0 0;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  color: #666666;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  ;
  padding: 4px 20px;
  text-decoration: none;
}

.np-archive-more .np-button:hover {
  background: #9f0100;
  color: #fff;
  border-color: #9f0100;
}

.np-archive-more .np-button i {
  margin-right: 8px;
}

.np-archive-grid-post-wrapper article {
  display: inline-block;
  margin-left: 3%;
  margin-right: -4px;
  width: 47%;
  vertical-align: top;
  margin-bottom: 25px;
}

.np-archive-grid-post-wrapper article .np-article-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f3f5;
  margin-bottom: 12px;
}

.np-archive-grid-post-wrapper article .np-article-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.np-archive-grid-post-wrapper article .np-article-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
  display: block;
  transition: transform 0.35s ease;
}

.np-archive-grid-post-wrapper article:hover .np-article-thumb img {
  transform: scale(1.04);
}

.np-archive-grid-post-wrapper {
  margin-left: -3%;
}

.home.archive-list article {
  border-top: 1px solid #e1e1e1 !important;
  padding-top: 20px;
  padding-bottom: 0 !important;
}

.home.archive-list article:first-child {
  border-top: none !important;
  padding-top: 0;
}

.archive.archive-list article {
  border-bottom: 1px solid #e1e1e1 !important;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}

.archive.archive-list article:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/*--------------------------------------------------------------
Archive / Category List: 2-Side Layout (Thumb 45% / Text 55%)
--------------------------------------------------------------*/
.archive.category #primary article,
.archive-list #primary article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  float: none;
  width: 100%;
  clear: both;
}

.archive.category #primary article:hover,
.archive-list #primary article:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.archive.category #primary article .np-article-thumb,
.archive-list #primary article .np-article-thumb {
  width: 45%;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 45%;
  flex: 0 0 45%;
  float: none;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #f1f3f5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.archive.category #primary article .np-article-thumb a,
.archive-list #primary article .np-article-thumb a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
}

.archive.category #primary article .np-article-thumb img,
.archive-list #primary article .np-article-thumb img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
  display: block;
  -webkit-transition: transform 0.35s ease;
  transition: transform 0.35s ease;
}

.archive.category #primary article:hover .np-article-thumb img,
.archive-list #primary article:hover .np-article-thumb img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}

.archive.category #primary article .np-archive-post-content-wrapper,
.archive-list #primary article .np-archive-post-content-wrapper {
  width: 55%;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 55%;
  flex: 1 1 55%;
  float: none;
  box-sizing: border-box;
  padding: 22px 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  box-shadow: none;
  background: transparent;
  border: none;
}

.archive.category #primary article .np-archive-post-content-wrapper::before,
.archive-list #primary article .np-archive-post-content-wrapper::before {
  display: none !important;
}

.archive.category #primary article .entry-header,
.archive-list #primary article .entry-header {
  margin-bottom: 8px;
}

.archive.category #primary article .entry-title,
.archive-list #primary article .entry-title {
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 8px;
  font-weight: 700;
}

.archive.category #primary article .entry-title a,
.archive-list #primary article .entry-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive.category #primary article .entry-title a:hover,
.archive-list #primary article .entry-title a:hover {
  color: #9f0100;
}

.archive.category #primary article .entry-meta,
.archive-list #primary article .entry-meta {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 12px;
}

.archive.category #primary article .entry-meta span,
.archive-list #primary article .entry-meta span {
  margin-right: 14px;
}

.archive.category #primary article .entry-content,
.archive-list #primary article .entry-content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  color: #495057;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.archive.category #primary article .entry-content p,
.archive-list #primary article .entry-content p {
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive.category #primary article .np-archive-more,
.archive-list #primary article .np-archive-more {
  margin-top: auto;
}

.archive.category #primary article .np-archive-more .np-button,
.archive-list #primary article .np-archive-more .np-button {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  font-weight: 600;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 4px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.archive.category #primary article .np-archive-more .np-button:hover,
.archive-list #primary article .np-archive-more .np-button:hover {
  background: #9f0100;
  border-color: #9f0100;
  color: #ffffff;
}

.archive.category #primary article .post-edit-link,
.archive-list #primary article .post-edit-link {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  padding: 4px 10px;
  background: #9f0100;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
}

/* Dark mode styling */
.site-mode--dark.archive.category #primary article,
.site-mode--dark.archive-list #primary article {
  background: #1e1e1e;
  border-color: #2d2d2d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.site-mode--dark.archive.category #primary article .entry-title a,
.site-mode--dark.archive-list #primary article .entry-title a {
  color: #f1f1f1;
}

.site-mode--dark.archive.category #primary article .entry-title a:hover,
.site-mode--dark.archive-list #primary article .entry-title a:hover {
  color: #ff4d4d;
}

.site-mode--dark.archive.category #primary article .entry-meta,
.site-mode--dark.archive-list #primary article .entry-meta,
.site-mode--dark.archive.category #primary article .entry-meta span a,
.site-mode--dark.archive-list #primary article .entry-meta span a {
  color: #9e9e9e;
}

.site-mode--dark.archive.category #primary article .entry-content,
.site-mode--dark.archive-list #primary article .entry-content {
  color: #cccccc;
}

.site-mode--dark.archive.category #primary article .np-archive-more .np-button,
.site-mode--dark.archive-list #primary article .np-archive-more .np-button {
  background: #2b2b2b;
  border-color: #3a3a3a;
  color: #dddddd;
}

.site-mode--dark.archive.category #primary article .np-archive-more .np-button:hover,
.site-mode--dark.archive-list #primary article .np-archive-more .np-button:hover {
  background: #9f0100;
  border-color: #9f0100;
  color: #ffffff;
}

/* Responsive for tablets and mobile */
@media screen and (max-width: 768px) {
  .archive.category #primary article,
  .archive-list #primary article {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .archive.category #primary article .np-article-thumb,
  .archive-list #primary article .np-article-thumb {
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }
  .archive.category #primary article .np-article-thumb img,
  .archive-list #primary article .np-article-thumb img {
    min-height: 200px;
    max-height: 250px;
    aspect-ratio: 16 / 9;
    -o-object-position: top;
    object-position: top;
  }
  .archive.category #primary article .np-archive-post-content-wrapper,
  .archive-list #primary article .np-archive-post-content-wrapper {
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 16px;
  }
}

/*--------------------------------------------------------------
Single Post: Related Posts Section
--------------------------------------------------------------*/
.np-related-section-wrapper {
  margin-top: 50px;
  margin-bottom: 30px;
  clear: both;
}

.np-related-posts-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-left: 0;
  box-sizing: border-box;
}

.np-related-section-wrapper .np-single-post {
  float: none;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.np-related-posts-wrap .np-post-thumb {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f5f9;
}

.np-related-posts-wrap .np-post-thumb a {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.np-related-posts-wrap .np-post-thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover !important;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.np-related-section-wrapper .np-single-post:hover .np-post-thumb img {
  transform: scale(1.05);
  opacity: 0.92;
}

.np-related-posts-wrap .np-post-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 10px;
}

.np-related-posts-wrap .np-post-title {
  margin: 4px 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np-related-posts-wrap .np-post-title a {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
}

.np-related-posts-wrap .np-post-title a:hover {
  color: #9f0100;
}

.np-related-posts-wrap .np-post-meta {
  margin-top: auto;
  font-size: 12px;
  color: #777777;
}

.np-related-posts-wrap .np-post-meta span,
.np-related-posts-wrap .np-post-meta span a {
  font-size: 12px;
  color: #777777;
}

body.site-mode--dark .np-related-posts-wrap .np-post-title a {
  color: #f1f5f9;
}

body.site-mode--dark .np-related-posts-wrap .np-post-title a:hover {
  color: #ff6b6b;
}

body.site-mode--dark .np-related-posts-wrap .np-post-meta span,
body.site-mode--dark .np-related-posts-wrap .np-post-meta span a {
  color: #94a3b8;
}

@media (max-width: 767px) {
  .np-related-posts-wrap {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
  }
}

@media (max-width: 480px) {
  .np-related-posts-wrap {
    grid-template-columns: 1fr;
    grid-gap: 18px;
  }
}

#content {
  margin-top: 30px;
}

.home #content {
  margin-top: 0;
}

.single .post-cats-list {
  margin: 6px 0;
}

/*--------------------------------------------------------------
Error 404 css 
--------------------------------------------------------------*/

.error404 #primary {
  float: none;
  padding: 90px 0;
  width: 100%;
}

.error-404.not-found {
  border: 1px solid #e1e1e1;
  margin: 0 auto;
  max-width: 700px;
}

.error404 .page-title {
  background: #9f0100 none repeat scroll 0 0;
  color: #fff;
  font-size: 20px;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}

.error-num {
  font-size: 114px;
  font-weight: 700;
  text-align: center;
}

.error-num>span {
  font-size: 34px;
  text-transform: uppercase;
}

.error404 .page-content {
  font-size: 14px;
  text-align: center;
}

.error-404 .page-header .page-title {
  color: #fff;
}

/*--------------------------------------------------------------
scroll to top css 
--------------------------------------------------------------*/

#np-scrollup {
  background-color: #9f0100;
  bottom: 20px;
  color: #ffffff;
  display: none;
  height: 40px;
  line-height: 40px;
  position: fixed;
  right: 20px;
  width: 40px;
  text-align: center;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#np-scrollup {
  display: none;
}

#np-scrollup:hover,
#np-scrollup:focus,
#np-scrollup:active {
  color: #ffffff;
  border-radius: 100%;
}

/*--------------------------------------------------------------
Wpform css 
--------------------------------------------------------------*/

div.wpforms-container-full .wpforms-form input[type="submit"],
div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-page-button,
div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover {
  background: #9f0100;
  border: none;
  padding: 10px 20px;
}

/*--------------------------------------------------------------
Live search css 
--------------------------------------------------------------*/
.news-portal-search-results-wrap {
  padding: 15px 3px 0;
}

.np-header-search-wrapper .search-form-main .search-form label {
  border-radius: 0;
  padding: 0;
  width: 80%;
  display: inline-block;
  position: relative;
  margin-right: -4px;
}

.search-form-main .news-portal-search-posts-wrap {
  max-height: 600px;
  overflow-y: scroll;
  padding-right: 8px;
}

.news-portal-search-results-wrap .news-portal-search-article-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #e1e1e1;
}

.news-portal-search-results-wrap .news-portal-search-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-thumb-wrap {
  flex: 0 1 20%;
  margin-right: 15px;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-thumb-wrap img {
  display: block;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element {
  flex: 0 1 80%;
}

.news-portal-search-results-wrap .news-portal-search-article-item.no-img-post .news-portal-search-post-thumb-wrap {
  flex: 0;
  margin: 0;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .news-portal-search-post-title {
  margin: 0 0 6px;
  line-height: 22px;
  font-size: 14px;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .news-portal-search-post-title a {
  color: #333;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .news-portal-search-post-title a:hover {
  color: #9f0100;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on {
  font-size: 12px;
  display: block;
  margin-top: -2px;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .byline {
  display: none;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on a,
.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on::before {
  color: #909090;
  font-style: normal;
}

.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on:hover a,
.news-portal-search-results-wrap .news-portal-search-article-item .news-portal-search-post-element .posted-on:hover:before {
  color: #9f0100;
}

.search-form.retrieving-posts label::before {
  content: "\f110";
  font-family: FontAwesome !important;
  font-weight: 600;
  display: inline-block;
  color: #B6B6B6;
  position: absolute;
  right: 5px;
  border-radius: 50%;
  top: 0px;
  font-size: 20px;
  -webkit-animation: tie-spin 3s infinite linear;
  animation: tie-spin 3s infinite linear;
}

@keyframes tie-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.search-results-wrap.no-posts-found h2 {
  margin: 0;
  font-size: 1.3rem;
}

.search-results-wrap.no-posts-found p {
  margin: 8px 0 0;
}

/*--------------------------------------------------------------
Single Post Reading Progress Bar
--------------------------------------------------------------*/
.np-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
  z-index: 99999;
  pointer-events: none;
  max-width: 100vw;
  box-sizing: border-box;
}

.np-reading-progress-fill {
  height: 100%;
  width: 0%;
  background-color: #9f0100;
  transition: width 0.05s ease-out;
  pointer-events: none;
}

.np-reading-progress-tooltip {
  position: absolute;
  top: 8px;
  left: 0%;
  transform: translateX(0%);
  background-color: #9f0100;
  border-radius: 4px;
  padding: 3px 7px;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  transition: left 0.05s ease-out, transform 0.05s ease-out;
}

.np-reading-progress-tooltip .np-tooltip-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  display: block;
}

.np-reading-progress-tooltip .np-tooltip-arrow {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #9f0100;
}

/*custome*/
#masthead .np-logo-section-wrapper {
  padding: 0 !important;
}

#masthead .np-logo-section-wrapper .mt-container {
  width: 100%;
}

#masthead .np-logo-section-wrapper .site-branding {
  width: 100%;
  margin: 0;
}

#masthead .np-logo-section-wrapper .site-branding img {
  width: 100%;
}

.np-single-post .np-post-thumb img{
  width: 100%;
}

.np-single-post .np-post-thumb img{
  width: 100%;
}

.home-middle .np-recent-posts-wrapper .np-post-content a{
  font-size: 15px;
}

.np-post-excerpt {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
}

.np-post-excerpt p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

body.site-mode--dark .np-post-excerpt {
  color: #a5a5a5;
}

/* NP: Recent Posts Widget Pagination */
.np-recent-posts-ajax-wrap {
  position: relative;
  transition: opacity 0.2s ease;
}

.np-recent-posts-ajax-wrap.is-loading .np-recent-posts-list {
  opacity: 0.35;
  pointer-events: none;
}

.np-widget-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #ebebeb;
}

.np-widget-pagination .np-page-num,
.np-widget-pagination .np-page-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444444;
  background: #f7f7f7;
  border: 1px solid #dddddd;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1;
}

.np-widget-pagination a.np-page-num:hover,
.np-widget-pagination a.np-page-nav:hover {
  background: #9f0100;
  color: #ffffff;
  border-color: #9f0100;
}

.np-widget-pagination .np-page-num.current {
  background: #9f0100;
  color: #ffffff;
  border-color: #9f0100;
  cursor: default;
}

.np-widget-pagination .np-page-nav.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.np-widget-pagination .np-page-dots {
  padding: 0 4px;
  color: #888888;
  font-size: 13px;
}

/* Dark mode support for widget pagination */
body.site-mode--dark .np-widget-pagination {
  border-top-color: #333333;
}

body.site-mode--dark .np-widget-pagination .np-page-num,
body.site-mode--dark .np-widget-pagination .np-page-nav {
  background: #252525;
  color: #e0e0e0;
  border-color: #3a3a3a;
}

body.site-mode--dark .np-widget-pagination a.np-page-num:hover,
body.site-mode--dark .np-widget-pagination a.np-page-nav:hover,
body.site-mode--dark .np-widget-pagination .np-page-num.current {
  background: #9f0100;
  color: #ffffff;
  border-color: #9f0100;
}

/* Custom Footer styled like chandunglanhdao.com */
#colophon {
  background: #1d353d !important;
  color: #d9d9d9 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

#colophon a {
  color: #d9d9d9;
  text-decoration: none;
  transition: color 0.2s ease;
}

#colophon a:hover {
  color: #F43676;
}

#colophon .bottom-footer {
  background: transparent;
  padding: 45px 0;
  color: #d9d9d9;
}

#colophon .site-info.np-chandung-footer-wrap {
  float: none;
  width: 100%;
}

.np-chandung-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  margin: 0 -15px;
}

.np-chandung-footer-col {
  flex: 1 1 33.333%;
  max-width: 33.333%;
  padding: 10px 15px;
  box-sizing: border-box;
  text-align: center;
}

.np-chandung-footer-content {
  font-size: 14px;
  line-height: 1.8;
}

.np-chandung-footer-content p {
  margin: 0;
  color: #d9d9d9;
}

.np-chandung-footer-content p strong {
  color: #ffffff;
  font-weight: 700;
}

.np-chandung-footer-content p em {
  font-style: italic;
  opacity: 0.85;
}

.np-chandung-footer-content .wp-block-code {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 16px;
  margin: 0 auto;
  display: inline-block;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.np-chandung-footer-content .wp-block-code code {
  color: #d9d9d9;
  font-family: inherit;
  font-size: 13px;
  background: none;
  padding: 0;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 768px) {
  .np-chandung-footer-col {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .np-chandung-footer-col:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
Sidebar Ads Widget CSS (Quảng Cáo Sidebar)
--------------------------------------------------------------*/
.np-sidebar-ads-wrapper {
  margin-bottom: 25px;
  position: relative;
}

.np-sidebar-ads-wrapper.np-sticky-sidebar-ad {
  position: -webkit-sticky;
  position: sticky;
  top: var(--ad-top-offset, 90px);
  z-index: 9;
  transition: top 0.25s ease;
}

.np-ads-card-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.np-ads-card-container:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.np-ads-badge-bar {
  display: flex;
  justify-content: flex-end;
  padding: 4px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.np-ads-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #94a3b8;
  display: inline-block;
  line-height: 14px;
}

.np-ads-single-banner,
.np-ads-single-item {
  overflow: hidden;
  display: block;
}

.np-ads-single-banner a,
.np-ads-single-item a {
  display: block;
  overflow: hidden;
}

.np-ads-single-banner img,
.np-ads-single-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.np-ads-single-banner:hover img,
.np-ads-single-item:hover img {
  transform: scale(1.02);
  opacity: 0.96;
}

.np-ads-dual-wrap .np-ads-single-item:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

/* Contact / Sponsorship Card */
.np-ads-contact-card {
  padding: 24px 20px;
  text-align: center;
  background: linear-gradient(135deg, #102a36 0%, #1d353d 60%, #9f0100 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.np-ads-contact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.np-ads-contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #f6ad55;
  margin-bottom: 12px;
}

.np-ads-contact-heading {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.np-ads-contact-sub {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 18px;
  margin: 0 0 14px;
}

.np-ads-specs-tag {
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  color: #fbd38d;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.np-ads-contact-info {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  text-align: left;
}

.np-ads-contact-info .np-contact-line {
  color: #f1f5f9;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-ads-contact-info .np-contact-line:last-child {
  margin-bottom: 0;
}

.np-ads-contact-info .np-contact-line i {
  color: #f6ad55;
  width: 16px;
  text-align: center;
}

.np-ads-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #9f0100;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(159, 1, 0, 0.35);
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.5px;
}

.np-ads-contact-btn:hover {
  background: #b90201;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(159, 1, 0, 0.45);
}

.np-ads-code-wrap {
  padding: 10px;
  text-align: center;
  overflow: hidden;
}

/* Dark mode styles */
body.site-mode--dark .np-ads-card-container {
  background: #1e1e1e;
  border-color: #333333;
}

body.site-mode--dark .np-ads-badge-bar {
  background: #181818;
  border-bottom-color: #2b2b2b;
}

body.site-mode--dark .np-ads-badge {
  color: #64748b;
}

body.site-mode--dark .np-ads-dual-wrap .np-ads-single-item:not(:last-child) {
  border-bottom-color: #333333;
}

/*--------------------------------------------------------------
Floating Right Skyscraper Ad (Banner Sườn Phải Chuẩn 160x600)
--------------------------------------------------------------*/
.np-floating-ad-right {
  position: fixed;
  top: 130px;
  width: 162px;
  box-sizing: border-box;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.np-floating-ad-right .np-floating-ad-inner {
  display: flex;
  flex-direction: column;
  width: 160px;
}

.np-floating-ad-right .np-floating-ad-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d353d;
  padding: 3px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.np-floating-ad-right .np-floating-ad-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #cbd5e1;
}

.np-floating-ad-right button.np-floating-ad-close {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1 !important;
  padding: 0 4px !important;
  cursor: pointer !important;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  height: auto !important;
  box-shadow: none !important;
  display: inline-block !important;
}

.np-floating-ad-right button.np-floating-ad-close:hover {
  opacity: 1;
  transform: scale(1.2);
  color: #ff6b6b !important;
}

.np-floating-ad-right .np-floating-ad-content {
  overflow: hidden;
  display: block;
  width: 160px;
  height: 600px;
  background: #081120;
  position: relative;
}

.np-floating-ad-right .np-floating-ad-content a {
  display: block;
  width: 160px;
  height: 600px;
  overflow: hidden;
  text-decoration: none;
}

.np-floating-ad-right .np-floating-ad-content img {
  display: block;
  width: 160px;
  height: 600px;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.np-floating-ad-right .np-floating-ad-content:hover img {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Enforce 160x600 for standard widget ads like Google AdSense */
.np-floating-ad-right .np-floating-ad-content iframe,
.np-floating-ad-right .np-floating-ad-content ins.adsbygoogle {
  display: block !important;
  width: 160px !important;
  height: 600px !important;
  max-width: 160px !important;
  min-width: 160px !important;
  min-height: 600px !important;
}

@media (min-width: 1530px) {
  .np-floating-ad-right {
    left: calc(50% + 595px);
    right: auto;
    width: 162px;
  }
}

@media (min-width: 1200px) and (max-width: 1529px) {
  .np-floating-ad-right {
    right: 8px;
    left: auto;
    width: 162px;
  }
}

@media (max-width: 1199px) {
  .np-floating-ad-right {
    display: none !important;
  }
}

/* Dark mode for floating ad */
body.site-mode--dark .np-floating-ad-right {
  background: #1e1e1e;
  border-color: #333333;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
}

body.site-mode--dark .np-floating-ad-right .np-floating-ad-control {
  background: #111e24;
  border-bottom-color: #2b2b2b;
}

body.site-mode--dark .np-floating-ad-right .np-floating-ad-tag {
  color: #94a3b8;
}

body.site-mode--dark .np-floating-ad-right .np-floating-ad-content {
  background: #1e1e1e;
}

