/**
Theme Name: Apex News
Theme URI: https://ascendoor.com/themes/apex-news/
Author: Ascendoor
Author URI: https://ascendoor.com/
Version: 1.0.0
Requires PHP: 5.6
Tested up to: 6.1
Requires at least: 5.0
Template: legal-news
Text Domain: apex-news
Description: Apex News ( child theme of Legal News ) is a fast, clean, easy-to-use, modern-looking best responsive WordPress magazine theme. It is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, news portals, personal blogs, newspapers, publishing or review site, and any creative website. The theme is widgetized & customize based theme, so users can manage the content by using widgets and live WordPress customizer. This theme is entirely responsive and looks great on all screen sizes, from small to wide. This theme is SEO-friendly, dependency-free, minimal, and lightweight which can be a great starting point for creating fast, good-looking, unique, and powerful websites. The modern and professional design is easy and quick to set up, especially with the pre-built demos. Apart from its modern design, Apex News is highly flexible and responsive. It is also cross-browser compatible. Your content and design look on any screen resolution or any version of the browser. It is well-optimized for speed, its performance, and follows well-practiced SEO. Check the theme documentation at: https://docs.ascendoor.com/docs/apex-news/ and demo at: https://demos.ascendoor.com/apex-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.

Apex 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/
*/

.banner-section {
	margin-bottom: 30px;
}

.banner-section .banner-slider .slick-track {
	line-height: 0;
}

.banner-section.banner-section-with-trending .banner-section-wrapper {
	display: flex;
	gap: 10px;
}

@media (max-width: 991px) {
	.banner-section.banner-section-with-trending .banner-section-wrapper {
		flex-direction: column;
	}
}

.banner-section.banner-section-with-trending .banner-section-wrapper .slider-part {
	width: 70%;
}

@media (max-width: 991px) {
	.banner-section.banner-section-with-trending .banner-section-wrapper .slider-part {
		width: 100%;
	}
}

.banner-section.banner-section-with-trending .banner-section-wrapper .slider-part .magazine-slider-wrapper .mag-post-single {
	min-height: 500px;
}

@media (max-width: 767px) {
	.banner-section.banner-section-with-trending .banner-section-wrapper .slider-part .magazine-slider-wrapper .mag-post-single {
		min-height: 350px;
	}
}

.banner-section.banner-section-with-trending .banner-section-wrapper .slider-part .magazine-slider-wrapper .mag-post-single .mag-post-detail .mag-post-title {
	font-size: var(--font-size-md);
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part {
	width: 30%;
}

@media (max-width: 991px) {
	.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part {
		width: 100%;
	}
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .slick-slide {
	margin-bottom: 10px;
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single {
	display: flex !important;
	min-height: 90px;
	gap: 15px;
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-img {
	width: 25%;
}

@media (min-width: 992px) {
	.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-img {
		min-width: 90px;
		height: 90px;
	}
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-img .trending-no {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--theme-color);
	color: var(--white);
	font-size: var(--font-size-sm);
	line-height: 1;
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-img+.mag-post-detail {
	width: calc(75% - 20px);
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-detail {
	align-self: center;
	padding: 10px 0;
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-detail .mag-post-title {
	font-size: var(--font-size-sm);
}

@media (min-width: 992px) and (max-width: 1200px) {
	.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-detail .mag-post-title {
		font-size: calc(var(--font-size-sm) - 1px);
	}
}

.banner-section.banner-section-with-trending .banner-section-wrapper .trending-part .trending-wrapper .mag-post-single .mag-post-detail .mag-post-meta {
	display: none;
}



.magazine-tile-list-section .magazine-tile-list-section-wrapper {
	display: grid;
	grid-gap: 10px;
}

.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: #2869970d;
	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) {
	div:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}

	div: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;
	}
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper,
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);
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child,
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;
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-list-section.style-2 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt,
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;
}

.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 {
	grid-column: span 1;
}

.footer-widget-single .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);
}



.magazine-tile-section .magazine-tile-section-wrapper {
	display: grid;
	grid-gap: 10px;
}

.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);
	}
}

div: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) {
	div: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) {
	div: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) {
	div: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) {
	div: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) {

	div:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
	div: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;
	}
}


#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper,
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);
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single,
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;
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child,
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;
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:first-child .mag-post-detail .mag-post-title,
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);
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3),
#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2),
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;
}

#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(3) .mag-post-detail .mag-post-title,
#sidr.ascendoor-offcanvas-wrap .magazine-tile-section.style-2 .magazine-tile-section-wrapper .mag-post-single:nth-child(2) .mag-post-detail .mag-post-title,
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);
}