/*!
Theme Name: News Boost
Theme URI: https://adorethemes.com/downloads/news-boost/
Author: Adore Themes
Author URI: https://adorethemes.com/
Description: News Boost is a sleek, modern WordPress theme ideal for news websites, blogs, magazines, and more. With a professional design, pre-built demos, and full customization options via widgets and the live customizer, it's easy to set up. The theme is fully responsive, SEO-optimized, and built for fast loading across devices. Perfect for any creative website, it offers a clean, user-friendly experience with secure, fast-loading code. You can preview the theme demo here: https://demo.adorethemes.com/news-boost/
Version: 1.0.1
Requires at least: 5.0
Requires PHP: 8.0
Tested up to: 7.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: hot-news
Text Domain: news-boost
Tags: custom-background, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, left-sidebar, right-sidebar, blog, one-column, portfolio, photography, theme-options, threaded-comments, 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.

News Boost 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
========================================================================== */
.main-banner-section.style-3 .main-banner-section-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-inline: -5px;
	align-items: flex-start;
}

.main-banner-section.style-3 .main-banner-section-wrapper>div {
	padding-inline: 5px;
	@media (min-width: 1025px) {
		position: sticky;
		top: 40px;
	}
}

.main-banner-section.style-3 .banner-grid-outer {
	width: 66.66%;
}

.main-banner-section.style-3 .banner-main-grid .post-item.overlay-post{
	&:first-child{

		@media (min-width: 601px) {
			min-height: 415px;
		}
	}
}

.main-banner-section.style-3 .editor-pick-wrapper {
	width: 33.33%;
}

@media (max-width: 1024px) {
	.main-banner-section.style-3 .banner-grid-outer {
		width: 100%;
		margin-bottom: 20px;
	}

	.main-banner-section.style-3 .editor-pick-wrapper {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.main-banner-section.style-3 .banner-grid-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}

	.main-banner-section.style-3 .banner-grid-wrapper .post-item:first-child {
		grid-column: span 1;
		grid-row: span 1;
	}
}

/* Breaking News Post Counter
========================================================================== */
.dispay-number .news-ticker-section-wrapper ul.newsticker li .newsticker-outer .newsticker-image .ticker-no {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	width: 100%;
	height: 100%;
	font-weight: 700;
	display: flex;
	color: #fff;
	align-items: center;
	justify-content: center;
	font-size: calc(var(--font-size-sm) + 3px);
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.25);
}

/* Recent Post Section
========================================================================== */
.recentpost-wrapper {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
	.recentpost-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.post-item.overlay-post {
		min-height: 380px;
	}
}

@media (max-width: 480px) {
	.recentpost-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* Slider Widget
========================================================================== */
.slider-widget .slider-wrapper .post-item {
	height: 600px;
}

@media (max-width: 600px) {
	.slider-widget .slider-wrapper .post-item {
		height: 400px;
	}
}

.slider-widget .slider-wrapper .post-item .post-overlay-wrapper {
	position: absolute;
	bottom: 0px;
	padding: 50px;
	z-index: 2;
	left: 0;
}

@media (max-width: 768px) {
	.slider-widget .slider-wrapper .post-item .post-overlay-wrapper {
		padding: 20px;
	}
}

.slider-widget .slider-wrapper .post-item .entry-title {
	font-size: var(--font-size-lg);
}

#secondary .slider-widget .slider-wrapper .post-item,
.site-footer .slider-widget .slider-wrapper .post-item,
.secondary-widgets-area .slider-widget .slider-wrapper .post-item {
	height: 400px;
}

#secondary .slider-widget .slider-wrapper .post-item .post-overlay-wrapper,
.site-footer .slider-widget .slider-wrapper .post-item .post-overlay-wrapper,
.secondary-widgets-area .slider-widget .slider-wrapper .post-item .post-overlay-wrapper {
	padding: 20px;
}

#secondary .slider-widget .slider-wrapper .post-item .entry-title,
.site-footer .slider-widget .slider-wrapper .post-item .entry-title,
.secondary-widgets-area .slider-widget .slider-wrapper .post-item .entry-title {
	font-size: var(--font-size-base);
}

.adore-boxed-wrapper {
	display: unset;
}

a:focus img {
	outline: 3px dotted #ffffff;
	outline-offset: -3px;
}
