/**
Theme Name: Universal News
Theme URI: https://ascendoor.com/themes/universal-news/
Author: Ascendoor
Author URI: https://ascendoor.com/
Version: 1.0.2
Requires PHP: 7.4
Tested up to: 6.6
Requires at least: 5.0
Template: news-center
Text Domain: universal-news
Description: Universal News ( child of News Center ) is a versatile WordPress theme perfect for news websites, blogs, and magazines. With multiple demos and customizable layouts, it offers unlimited color options and various blog styles. The theme is SEO optimized and has a widget-based design, making content management a breeze. Its fully responsive design ensures seamless performance on all devices. Overall, it's a modern, creative, and user-friendly theme for any news-related website. Check the theme documentation at: https://docs.ascendoor.com/docs/universal-news/ and demo at: https://demos.ascendoor.com/universal-news/
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-background, custom-logo, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, theme-options, footer-widgets, full-width-template, left-sidebar, right-sidebar, news, blog

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Universal News is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--primary-color: #1b8415;
}

/* Banner Style 3
========================================================================== */
.banner-section.banner-section-style-3 .banner-section-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
	.banner-section.banner-section-style-3 .banner-section-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.banner-section.banner-section-style-3 .banner-section-wrapper {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
}

.banner-section.banner-section-style-3 .banner-section-wrapper .slider-part:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
	width: 100%;
}

.banner-section.banner-section-style-3 .banner-section-wrapper .slider-part:nth-child(1) .mag-post-single {
	min-height: 450px;
}

@media (max-width: 480px) {
	.banner-section.banner-section-style-3 .banner-section-wrapper .slider-part:nth-child(1) .mag-post-single {
		min-height: 350px;
	}
}

.banner-section.banner-section-style-3 .banner-section-wrapper .slider-part:nth-child(1) .mag-post-single .mag-post-detail .mag-post-title {
	font-size: var(--font-size-md);
}

.banner-section.banner-section-style-3 .banner-section-wrapper .banner-gird-single:nth-child(3) {
	grid-row: span 2;
}

.magazine-carousel-slider-navigation .slick-arrow {
	visibility: visible;
	opacity: 1;
}

/* End Banner Style 3
========================================================================== */

/* grid Style 2
========================================================================== */

.magazine-grid-section.style-2 .magazine-grid-section-wrapper {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 600px) {
	.magazine-grid-section.style-2 .magazine-grid-section-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.magazine-grid-section.style-2 .magazine-grid-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

.magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1),
.magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2) {
	grid-column: span 2;
}

@media (max-width: 600px) {

	.magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1),
	.magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2) {
		grid-column: span 1;
	}
}

.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper {
	grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 600px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single {
	grid-column: span 2;
}

@media (max-width: 600px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single {
		grid-column: span 1;
	}
}

.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2),
.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1) {
	grid-column: span 3;
}

@media (max-width: 600px) {

	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2),
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1) {
		grid-column: span 1;
	}
}

aside#secondary.widget-area .magazine-grid-section.style-2 .magazine-grid-section-wrapper,
.footer-widget-single .magazine-grid-section.style-2 .magazine-grid-section-wrapper,
.secondary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper {
	grid-template-columns: repeat(1, 1fr);
}

aside#secondary.widget-area .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1),
aside#secondary.widget-area .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2),
.footer-widget-single .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1),
.footer-widget-single .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2),
.secondary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(1),
.secondary-widgets-section .magazine-grid-section.style-2 .magazine-grid-section-wrapper .mag-post-single:nth-child(2) {
	grid-column: span 1;
}

/* End grid Style 2
========================================================================== */

/* tile and list Style 2
========================================================================== */

.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
	.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:not(:first-child) .mag-post-img {
	display: none;
}

.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:not(:first-child) .mag-post-detail {
	padding: 15px;
	background: var(--light-bg-color);
	border-radius: 5px;
	width: 100%;
}

.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child {
	grid-row: 1/4;
	grid-column: 1/3;
}

@media (max-width: 600px) {
	.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child {
		grid-column: span 1;
		grid-row: span 1;
	}
}

@media (max-width: 480px) {
	.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt {
		display: none;
	}
}

@media (max-width: 480px) {

	.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-category,
	.magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-excerpt {
		display: none;
	}
}

@media (max-width: 768px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}

	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child {
		grid-row: span 1;
		grid-column: span 1;
	}
}

aside#secondary.widget-area .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper,
.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper,
.secondary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper {
	grid-template-columns: repeat(1, 1fr);
}

aside#secondary.widget-area .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child,
.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child,
.secondary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child {
	grid-row: span 1;
	grid-column: span 1;
}

aside#secondary.widget-area .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt,
.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt,
.secondary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt {
	display: none;
}

aside#secondary.widget-area .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single,
.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single,
.secondary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single {
	grid-column: span 1;
}

aside#secondary.widget-area .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-title,
.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-title,
.secondary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-title {
	font-size: var(--font-size-sm);
}

.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper {
	grid-template-columns: repeat(1, 1fr);
}

.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child {
	grid-row: span 1;
	grid-column: span 1;
}

.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt {
	display: none;
}

.footer-widget-single .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:not(:first-child) .mag-post-detail {
	background: #1e2a40;
}

/* End tile and list Style 2
========================================================================== */

/* post tile Style 2
========================================================================== */

.magazine-tile-section.style-2 .magazine-tile-section-wrapper {
	grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 767px) {
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single {
	grid-column: span 2;
}

@media (max-width: 480px) {
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single {
		grid-column: span 1;
	}
}

.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child {
	grid-row: span 2;
	grid-column: span 3;
}

@media (max-width: 480px) {
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child {
		grid-column: span 1;
		grid-row: span 1;
	}
}

@media (min-width: 481px) {
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
}

.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) {
	grid-column: span 3;
}

@media (max-width: 480px) {

	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) {
		grid-column: span 1;
	}
}

@media (min-width: 481px) {

	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3) .mag-post-detail .mag-post-title,
	.magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
}

.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper {
	grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 767px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 480px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single {
		grid-column: span 1;
	}
}

@media (max-width: 480px) {
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child {
		grid-column: span 1;
		grid-row: span 1;
	}
}

@media (max-width: 480px) {

	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) {
		grid-column: span 1;
	}
}

aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper,
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper,
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper {
	grid-template-columns: repeat(1, 1fr);
}

aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single,
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single,
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single {
	grid-column: span 1;
}

aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child,
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child,
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child {
	grid-row: span 1;
	grid-column: span 1;
}

aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child .mag-post-detail .mag-post-title,
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child .mag-post-detail .mag-post-title,
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child .mag-post-detail .mag-post-title {
	font-size: var(--font-size-base);
}

aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2),
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2),
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) {
	grid-column: span 1;
}

aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3) .mag-post-detail .mag-post-title,
aside#secondary.widget-area .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) .mag-post-detail .mag-post-title,
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3) .mag-post-detail .mag-post-title,
.footer-widget-single .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) .mag-post-detail .mag-post-title,
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3) .mag-post-detail .mag-post-title,
.secondary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) .mag-post-detail .mag-post-title {
	font-size: var(--font-size-base);
}

/* End post tile Style 2
========================================================================== */