/*
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.Check the demo at https://demo.mysterythemes.com/news-portal-demos/
Version:            1.5.10
Requires at least:  5.6
Tested up to:       6.8
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: #029fb2;
  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 #029fb2;
}

.navigation .nav-links a:hover,
.bttn:hover,
button,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: #029fb2;
  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: #029fb2;
  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: #029fb2;
}

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: #029FB2;
}

.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: #029FB2;
  border-color: #029FB2;
  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: #029FB2;
  color: #fff;
  border-color: #029FB2;
}

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

/*--------------------------------------------------------------
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: #029fb2;
  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: #029fb2
}

.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 #029fb2;
}

.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: #029fb2;
}

.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 #029fb2;
  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: #029fb2;
}

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

.logged-in-as a {
  color: #029fb2;
}

.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: #029fb2 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: #029fb2 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: #029fb2 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;
}

.np-header-menu-wrapper::before,
.np-header-menu-wrapper::after {
  background: #029fb2 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 #029FB2;
  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 #029FB2;
  content: "";
  position: absolute;
  right: 15px;
  top: -10px;
}

.np-header-search-wrapper .search-form-main .search-field {
  border-radius: 0;
  padding: 4px 10px;
  width: 80%;
  float: left;
}

.np-header-search-wrapper .search-form-main .search-submit {
  border: medium none;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  float: left;
  padding: 10px 0 10px;
  width: 20%;
  height: 36px;
  background: #029FB2;
}

.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 {
  color: #fff !important;
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-right: 5px;
  padding: 1px 12px;
  text-transform: capitalize;
}


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

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

.news_portal_featured_slider {
  margin: 0 0 25px;
}

.news_portal_featured_slider .slider-posts {
  float: left;
  width: 50%;
  margin: 0;
  padding: 0;
}

.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;
}

.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: #029fb2;
}

.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;
}

.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: #029FB2;
  color: #fff;
}

.news_portal_featured_slider .featured-posts {
  float: right;
  width: 50%;
  padding: 0;
}

.news_portal_featured_slider .featured-posts .np-single-post-wrap {
  float: left;
  margin-bottom: 5px;
  padding-left: 5px;
  position: relative;
  width: 50%;
}

.news_portal_featured_slider .featured-posts .np-single-post {
  position: relative;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 15px;
  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;
}

.news_portal_featured_slider .featured-posts .np-single-post .np-post-content .np-post-title {
  line-height: 20px;
}

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

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

.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: 12px;
}

.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 {
  margin-left: -2%;
}

.news_portal_featured_posts .np-single-post-wrap {
  float: left;
  margin-left: 2%;
  width: 23%;
}

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

.news_portal_featured_posts .np-single-post-wrap .np-post-thumb {
  float: left;
  width: 42%;
}

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

.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: #029fb2;
}

.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;
}


/*--------------------------------------------------------------
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: #029FB2;
  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: #029fb2;
}

.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: #029FB2
}

.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-single-post-wrap {
  float: left;
  margin-bottom: 2%;
  margin-left: 2%;
  width: 31.33%;
}

.middle-primary .news_portal_featured_posts .np-featured-posts-wrapper {
  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 {
  width: 48%;
}

.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: #029fb2 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: #029FB2;
}


.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 {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-thumb {
  float: left;
  width: 30%;
}

.news_portal_recent_posts .np-recent-posts-wrapper .np-post-content {
  float: left;
  margin-left: 4%;
  width: 66%;
}

.mt-social-icons-wrapper {
  text-align: center;
}

.news_portal_social_media .social-link {
  display: inline-block;
  vertical-align: top;
}

.news_portal_social_media .social-link a {
  background: #029fb2 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: #029fb2;
}

#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: #029fb2;
}


/*--------------------------------------------------------------
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: #029fb2;
}

.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: #029fb2;
  color: #fff;
  border-color: #029FB2;
}

.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;
}

.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-list article::after {
  clear: both;
  content: "";
  display: block;
}

.archive-list .np-article-thumb {
  float: left;
  width: 40%;
}

.archive-list .np-archive-post-content-wrapper {
  box-shadow: none;
  float: right;
  padding: 0;
  width: 57%;
}

.archive-list .np-archive-post-content-wrapper::before{
  display: none;
}

.site-mode--dark.archive-list .np-archive-post-content-wrapper {
  background: none;
}

.np-related-posts-wrap .np-post-title {
  margin: 10px 0 5px;
}

article.hentry h1.entry-title {
  font-size: 26px;
  margin: 10px 0;
}

.np-related-section-wrapper {
  margin-top: 80px;
}

.np-related-section-wrapper .np-single-post {
  float: left;
  margin-left: 2%;
  width: 31.33%;
}

.np-related-posts-wrap {
  margin-left: -2%;
}

#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: #029FB2 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: #029FB2;
  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: #029FB2;
  border: none;
  padding: 10px 20px;
}

/*--------------------------------------------------------------
Custom Logo CSS - 自定义Logo样式
--------------------------------------------------------------*/

/* 让logo居中显示并调整大小 */
#masthead .site-branding {
  float: none !important;
  text-align: center;
  margin: 20px auto;
  display: block;
}

/* 限制logo图片的最大宽度和高度 */
.site-branding .custom-logo {
  max-width: 200px !important;
  max-height: 200px !important;
  width: auto !important;
  height: auto !important;
  display: inline-block;
}

/* 确保logo容器也居中 */
.site-logo {
  display: inline-block;
  margin: 0 auto;
}

/*--------------------------------------------------------------
Block Carousel Layout CSS - 区块轮播布局样式
--------------------------------------------------------------*/

/* 轮播容器样式 */
.np-block-carousel-wrapper {
  position: relative;
  padding: 0 40px;
  margin: 20px 0;
}

/* 轮播导航按钮容器 */
.np-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  z-index: 10;
  pointer-events: none;
}

/* 轮播导航按钮 */
.np-carousel-prev,
.np-carousel-next {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #D32F2F;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  border-radius: 4px;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.np-carousel-prev:hover,
.np-carousel-next:hover {
  background: #B71C1C;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.5);
  transform: scale(1.05);
}

.np-carousel-prev {
  left: 0;
}

.np-carousel-next {
  right: 0;
}

/* 轮播列表样式 */
.np-block-carousel {
  list-style: none;
  padding: 0;
  margin: 0;
}

.np-block-carousel .carousel-item {
  padding: 10px;
}

/* 轮播单个文章样式 */
.np-block-carousel .np-single-post {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.np-block-carousel .np-single-post:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  transform: translateY(-3px);
  border-color: #D32F2F;
}

.np-block-carousel .np-post-thumb {
  position: relative;
  overflow: hidden;
}

.np-block-carousel .np-post-thumb img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.np-block-carousel .np-post-thumb:hover img {
  transform: scale(1.05);
}

.np-block-carousel .np-post-content {
  padding: 15px;
  background: #1a1a1a;
}

.np-block-carousel .np-post-title {
  margin-bottom: 10px;
  line-height: 1.4;
}

.np-block-carousel .np-post-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.np-block-carousel .np-post-title a:hover {
  color: #D32F2F;
}

.np-block-carousel .np-post-meta {
  font-size: 12px;
  color: #999999;
}

.np-block-carousel .np-post-meta a {
  color: #cccccc;
}

.np-block-carousel .np-post-meta a:hover {
  color: #D32F2F;
}

/* 轮播分类标签样式 */
.np-block-carousel .np-post-cat-list {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.np-block-carousel .np-post-cat-list a {
  background: #D32F2F;
  color: #ffffff;
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-right: 5px;
}

.np-block-carousel .np-post-cat-list a:hover {
  background: #B71C1C;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(211, 47, 47, 0.4);
}

/* 轮播图片遮罩效果 */
.np-block-carousel .np-post-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.np-block-carousel .np-post-thumb:hover::before {
  opacity: 0.8;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .np-block-carousel-wrapper {
    padding: 0 35px;
  }

  .np-carousel-prev,
  .np-carousel-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
News Category 4 Column Grid Layout - 新闻分类4列网格布局
--------------------------------------------------------------*/

/* 全宽容器 */
.news-category-grid .full-width-news {
  width: 100%;
  max-width: 100%;
  float: none;
  margin: 0;
}

.news-category-grid .mt-archive-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 4列网格容器 */
.news-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 30px 0;
}

/* 单个新闻项 */
.news-grid-item {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.news-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border-color: #D32F2F;
}

.news-grid-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 图片区域 */
.news-grid-thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.news-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-grid-item:hover .news-grid-thumb img {
  transform: scale(1.1);
}

/* 图片遮罩 */
.news-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.news-grid-item:hover .news-grid-overlay {
  opacity: 0.8;
}

/* 分类标签 */
.news-grid-thumb .np-post-cat-list {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.news-grid-thumb .np-post-cat-list a {
  background: #D32F2F;
  color: #ffffff;
  padding: 5px 12px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  display: inline-block;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.news-grid-thumb .np-post-cat-list a:hover {
  background: #B71C1C;
  transform: translateY(-2px);
}

/* 内容区域 */
.news-grid-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
}

.news-grid-title {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 12px 0;
  font-weight: 700;
}

.news-grid-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-grid-title a:hover {
  color: #D32F2F;
}

.news-grid-meta {
  font-size: 12px;
  color: #999999;
  margin-bottom: 12px;
}

.news-grid-meta a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-grid-meta a:hover {
  color: #D32F2F;
}

.news-grid-meta i {
  margin-right: 5px;
}

.news-grid-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #aaaaaa;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .news-grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 992px) {
  .news-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-grid-thumb {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  .news-category-grid .mt-archive-content-wrapper {
    padding: 20px 15px;
  }

  .news-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .news-grid-thumb {
    height: 180px;
  }

  .news-grid-title {
    font-size: 16px;
  }

  .news-grid-content {
    padding: 15px;
  }
}

@media screen and (max-width: 576px) {
  .news-grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .news-grid-thumb {
    height: 220px;
  }
}

/* ==========================================
   Team Roster Layout CSS
   一线队球员名册布局样式
   ========================================== */

/* 全宽容器 */
.team-roster-page #primary.full-width-team {
  width: 100%;
  max-width: 100%;
  float: none;
}

/* 球员名册主容器 */
.team-roster-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 位置分组部分 */
.position-section {
  margin-bottom: 60px;
}

.position-section:last-child {
  margin-bottom: 0;
}

/* 位置标题 */
.position-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  padding: 15px 30px;
  margin: 0 0 30px 0;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

/* 球员网格布局 */
.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0;
}

/* 球员卡片 */
.player-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
  border-color: #D32F2F;
}

.player-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.player-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 球员图片 */
.player-thumb {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #000000;
}

.player-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: transform 0.4s ease;
}

.player-card:hover .player-thumb img {
  transform: scale(1.1);
}

.player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-card:hover .player-overlay {
  opacity: 1;
}

/* 球员信息内容 */
.player-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.player-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.4;
  color: #ffffff;
  transition: color 0.3s ease;
}

.player-card-link:hover .player-name {
  color: #D32F2F;
}

.player-info {
  font-size: 14px;
  line-height: 1.6;
  color: #b0b0b0;
  margin: 0;
}

/* 响应式布局 - 平板横屏 */
@media screen and (max-width: 1200px) {
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .position-title {
    font-size: 28px;
    padding: 12px 25px;
  }

  .player-thumb {
    height: 260px;
  }
}

/* 响应式布局 - 平板竖屏 */
@media screen and (max-width: 900px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .team-roster-wrapper {
    padding: 30px 15px;
  }

  .position-section {
    margin-bottom: 50px;
  }

  .position-title {
    font-size: 24px;
    padding: 10px 20px;
  }

  .player-thumb {
    height: 240px;
  }

  .player-content {
    padding: 15px;
  }

  .player-name {
    font-size: 18px;
  }
}

/* 响应式布局 - 手机 */
@media screen and (max-width: 576px) {
  .players-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .team-roster-wrapper {
    padding: 20px 10px;
  }

  .position-section {
    margin-bottom: 40px;
  }

  .position-title {
    font-size: 20px;
    padding: 8px 15px;
    margin-bottom: 20px;
  }

  .player-thumb {
    height: 280px;
  }

  .player-content {
    padding: 12px;
  }

  .player-name {
    font-size: 16px;
  }

  .player-info {
    font-size: 13px;
  }

  .player-card:hover {
    transform: translateY(-5px);
  }
}