/**
Theme Name: Fair News
Theme URI: https://ascendoor.com/themes/fair-news/
Author: Ascendoor
Author URI: https://ascendoor.com/
Version: 1.0.1
Requires PHP: 7.4
Tested up to: 6.6
Requires at least: 5.0
Template: right-news
Text Domain: fair-news
Description: Fair News ( child theme of Right News ) is a WordPress theme designed specifically for various types of websites related to news, including magazines, publishers, blogs, editors, online and gaming magazines, and personal blogs. It provides impressive demos for a quick start, featuring a flexible layout with numerous color options and diverse blog designs. The theme is optimized for SEO, utilizing a widget-based design that allows extensive customization for easy content management. With full responsiveness, it ensures seamless functionality across a range of devices, including mobile devices, tablets, laptops, and desktops. This WordPress magazine theme is known for its simplicity, user-friendly interface, contemporary appearance, and creative elements. Explore the demo at: https://demos.ascendoor.com/fair-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.

Fair 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 CSS
========================================================================== */
:root{
	--primary-color: #ef1a1a;
	--header-text-color: #ef1a1a;
}

/* Banner CSS
========================================================================== */
.banner-section.banner-section-style-3 .banner-grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper .mag-post-single {
		min-height: 480px;
	}
}
@media (min-width: 601px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper .mag-post-single .mag-post-detail {
		padding: 35px;
		padding-top: 50px;
	}
}
@media (min-width: 601px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper .mag-post-single:nth-child(1) {
		grid-row: span 2;
		grid-column: span 2;
		min-height: 320px;
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper .mag-post-single:nth-child(1) .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
}

@media (min-width: 769px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper .mag-post-single:nth-child(2) {
		grid-row: span 2;
		min-height: 320px;
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper .mag-post-single:nth-child(2) .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
}

@media (min-width: 601px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-1 .mag-post-single {
		min-height: 580px;
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-1 .mag-post-single .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
}

@media (min-width: 769px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-2 .mag-post-single {
		min-height: 580px;
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-2 .mag-post-single .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-2 .mag-post-single:nth-child(2), .banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-2 .mag-post-single:nth-child(1) {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 580px;
	}
}

@media (min-width: 601px) and (max-width: 768px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-2 {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (min-width: 769px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-3 .mag-post-single {
		min-height: 580px;
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-3 .mag-post-single .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-3 .mag-post-single:nth-child(2), .banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-3 .mag-post-single:nth-child(1) {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 580px;
	}
}

@media (min-width: 769px) {
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-4 .mag-post-single {
		min-height: 290px;
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-4 .mag-post-single .mag-post-detail .mag-post-title {
		font-size: var(--font-size-md);
	}
	.banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-4 .mag-post-single:nth-child(2), .banner-section.banner-section-style-3 .banner-grid-wrapper.num-items-4 .mag-post-single:nth-child(1) {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 290px;
	}
}

/* Banner CSS
========================================================================== */
.magazine-tile-list-section .magazine-tile-list-section-wrapper {
	display: grid;
	grid-gap: 30px;
}

.magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 600px) {
	.magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

.magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single {
	grid-column: span 2;
}

@media (max-width: 600px) {
	.magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single {
		grid-column: span 1;
	}
}

.magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child {
	grid-row: span 3;
	grid-column: span 2;
}

@media (max-width: 600px) {
	.magazine-tile-list-section.style-1 .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-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt {
		display: none;
	}
}

@media (max-width: 480px) {
	.magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-category,
	.magazine-tile-list-section.style-1 .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-1 .magazine-tile-list-section-wrapper {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single {
		grid-column: span 1;
	}
	.main-widget-section-wrap:not(.no-frontpage-sidebar) .primary-widgets-section .magazine-tile-list-section.style-1 .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-1 .magazine-tile-list-section-wrapper,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper,
.secondary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

aside#secondary.widget-area .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single,
.secondary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single {
	grid-column: span 1;
}

aside#secondary.widget-area .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-title,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-title,
.secondary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-title {
	font-size: var(--font-size-sm);
}

aside#secondary.widget-area .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-category,
aside#secondary.widget-area .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-excerpt,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-category,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-excerpt,
.secondary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-category,
.secondary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-excerpt {
	display: none;
}

aside#secondary.widget-area .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child,
.secondary-widgets-section .magazine-tile-list-section.style-1 .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-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt,
.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt,
.secondary-widgets-section .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single:first-child .mag-post-excerpt {
	display: none;
}

.footer-widget-single .magazine-tile-list-section.style-1 .magazine-tile-list-section-wrapper .mag-post-single.list-design .mag-post-meta {
	display: none;
}