/*!
Theme Name: Ultra Blog
Theme URI: https://adorethemes.com/downloads/ultra-blog/
Author: Adore Themes
Author URI: https://adorethemes.com/
Description: Ultra Blog is a minimalist and lightweight WordPress theme designed for creating professional blogging websites. The theme has a clean design and is ideal for various blog types, such as fashion, lifestyle, travel, food, and photography. Ultra Blog is mobile-friendly and cross-browser compatible, making it accessible across various devices and screen sizes. The theme is also translation-ready, allowing you to create blogs in any language. Overall, Ultra Blog offers a user-friendly interface, modern and creative design, and range of features suitable for building engaging and unique blog websites. Live preview : https://demo.adorethemes.com/ultra-blog/
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
Tested up to: 6.9
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: fantastic-blog
Text Domain: ultra-blog
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.

Ultra Blog 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
========================================================================== */
:root {
	--primary-color: #2c3e50;
}

/* -----------------------------------------
Start Banner Section
----------------------------------------- */
.banner-section.style-2 {
	overflow: hidden;
}
.banner-section.style-2 .banner-section-wrapper .slick-dots{
	margin-top: -10px;
}
.banner-section.style-2 .banner-section-wrapper .slick-slide{
	padding-inline: 5px;
	padding-bottom: 30px;
}
.banner-section.style-2 .banner-section-wrapper .slick-slide .post-item.overlay-post{
	min-height: 400px;
}
.banner-section.style-2 .banner-section-wrapper .adore-arrow{
	scale: 1;
	opacity: 1;
	visibility: visible;
}
.banner-section.style-2 .adore-navigation .adore-arrow.slide-prev{
	inset-inline-start: 5px;
	transform: translate(50%,-50%);
}
.banner-section.style-2 .adore-navigation .adore-arrow.slide-next{
	inset-inline-end: 5px;
	transform: translate(-50%,-50%);
}

/* -----------------------------------------
End Banner Section
----------------------------------------- */

/* Start categories section
--------------------------------------------- */

.categories-section .categories-wrapper {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.categories-section .category-single {
	aspect-ratio: 4/2.8;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	transition: var(--transition);
	background-position: center;
}

.categories-section .category-single img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	position: absolute;
	inset: 0;
	transition: var(--transition);
}
.categories-section .category-single img.blur-img {
	z-index: -1;
	filter: blur(20px);
	opacity: 0;
	transform: translateY(10px) translateZ(0);
}
.categories-section .category-single:hover .not-blur-img{
	transform: scale(1.05) translateZ(0);
}
.categories-section .category-single:hover img.blur-img {
	opacity: 0.7;
}

.categories-section .category-single>a {
	position: absolute;
	inset: 0;
	text-decoration: none;
	text-align: start;
	display: block;
	color: #fff;
	line-height: 1.2;
	font-size: var(--font-size-md);
	z-index: 3;
	font-weight: bold;
	border-radius: 15px;
	isolation: isolate;
}

.categories-section .category-single>a::before {
	position: absolute;
	content: "";
	inset: 0;
	z-index: -1;
	opacity: .2;
	border-radius: 15px;
	border: 1px solid #fff;
	background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
}

.categories-section .category-single>a>.title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 20px;
	text-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

.categories-section .category-single .count {
	position: absolute;
	inset-inline-start: 20px;
	top: 20px;
	color: var(--color-text);
	font-weight: bold;

}
.categories-section .category-single .count .number{
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	z-index: 3;
	font-size: calc(var(--font-size-base) - 0.2rem);
	background: var(--post-item-background);
	
	
}
.categories-section .category-single .count .view{
	position: absolute;
	z-index: 1;
	inset-inline-start: 100%;
	top: 50%;
	transform: translateY(-50%);
	font-size: var(--font-size-sm);
	background: var(--post-item-background);
	border-radius: 25px;
	white-space: nowrap;
	padding: 0px 15px;
	height: 30px;
	line-height: 30px;
	margin-inline-start: 5px;
	opacity: 0;
	transition: all 300ms ease;
	
	
}
.categories-section .category-single:focus-within .count .view,
.categories-section .category-single:hover .count .view{
	opacity: 1;
}

/* End categories section
--------------------------------------------- */