/*!
Theme Name: Legacy Blog
Theme URI: https://adorethemes.com/downloads/legacy-blog/
Author: Adore Themes
Author URI: https://adorethemes.com/
Description: Legacy 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. Legacy 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, Legacy 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/legacy-blog/
Version: 1.0.2
Requires at least: 5.0
Requires PHP: 7.4
Tested up to: 6.7
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: terminal-blog
Text Domain: legacy-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.

Legacy 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: #404040;
}

/* Header advertisement
--------------------------------------------- */
.adore-middle-header:has(.adore-adver-part){
	gap:10px;
	justify-content: space-between;

	@media (max-width: 991px) {
		flex-direction: column;
	}

	.site-branding {
		@media (min-width: 991px) {
			text-align: start;
		}
	}
	.adore-adver-part {
		width: 100%;
		@media (min-width: 992px) {
			width: 60%;
		}

		a {
			display: block;
			line-height: 0;
			border: 1px solid var(--primary-color);
			box-shadow: 5px 5px 0 var(--body-background), 6px 6px 0, 0 0 40px inset rgba(0, 0, 0, 0.75), 0 0 10px inset;

			img {
				width: 100%;
			}
			
			&:focus {
				outline-color: #fff;
				outline-offset: 2px;
			}
		}
	}
}
/* Header advertisement
--------------------------------------------- */

/* Menu Hamburger
--------------------------------------------- */
@media(max-width:991px) {

	.menu-toggle {
		width: 35px;
		height: 35px;
		position: relative;
		transform: rotate(0deg);
		transition: 0.5s ease-in-out;
		cursor: pointer;
		padding: 0;
		margin: 5px;
		border: 2px solid var(--primary-color);
        background-color: var(--body-background);
	}

	.menu-toggle:focus,
	.menu-toggle:hover {
		opacity: 1;
		outline: 2px var(--primary-color);
	}

	.menu-toggle span {
		display: block;
		position: absolute;
		height: 3px;
		width: calc(100% - 10px);
		background: var(--primary-color);
		border-radius: 3px;
		opacity: 1;
		left: 50%;
		transform: translateX(-50%) rotate(0deg);
		transition: 0.25s ease-in-out;
	}
}
/* Menu Hamburger
--------------------------------------------- */
.entry-title{
	word-break: break-all;
}
/* Start categories section
--------------------------------------------- */
.categories-section .categories-wrapper {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.categories-section .categories-wrapper .category-single {
	aspect-ratio: 4/2.8;
	position: relative;
	overflow: hidden;
	border: 2px solid var(--primary-color);
}

.categories-section .categories-wrapper .category-single .category-img {
	line-height: 0;
	display: block;
	height: 100%;
}

.categories-section .categories-wrapper .category-single .category-img>div {
	height: 100%;
}

.categories-section .categories-wrapper .category-single .category-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.categories-section .categories-wrapper .category-single>a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: var(--color-text);
	display: flex;
	align-items: flex-end;
	text-decoration: none;
}

.categories-section .categories-wrapper .category-single>a>span {
	font-weight: bold;
	text-transform: capitalize;
	font-size: var(--font-size-xs);
	line-height: 1.2;
	padding: 7px 13px;
	margin: 5px;
	color: #fff;
	transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
	background-color: var(--primary-color);
}

.categories-section .categories-wrapper .category-single>a>span span {
	font-size: var(--font-size-xs);
}


@media (max-width: 600px) {

	.categories-section .categories-wrapper .category-single>a span {
		font-size: calc(var(--font-size-base) - 2px);
	}
}

/* End categories section
--------------------------------------------- */