/*
Theme Name: Foliora
Author: CodeDevil
Description: Foliora is a clean blog, news and magazine theme with a full-width slider, a mixed-size post grid and a widget-ready footer.
Version: 0.116.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foliora
Domain Path: /languages
Tags: blog, news, e-commerce, grid-layout, one-column, two-columns, left-sidebar, right-sidebar, rtl-language-support, wide-blocks, block-patterns, block-styles, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready

Foliora WordPress Theme, (C) 2026 CodeDevil.
Foliora is distributed under the terms of the GNU GPL v2 or later.
*/

/*
 * The template's design CSS lives in assets/css/. This file holds
 * WordPress-specific styles that the HTML template doesn't cover.
 */

/* Accessibility: screen-reader text and skip link (required for theme review). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Below 992px the header scrolls with the page; it is the positioning box
   for the menu button and the menu panel (assets/css/menu.css). */
@media (max-width: 991px) {
	#inner-navigation .navbar-fixed-top {
		position: relative;
		top: auto;
	}
}

/* Core alignment classes. */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Header: logo and site title ---------- */
.site-branding .custom-logo-link {
	display: inline-block;
	padding: 0;
	background: none;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 60px;
	max-width: 260px;
}

.site-branding .site-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
}

.site-branding .site-title a {
	color: var(--foliora-text);
	padding: 0;
	background: none;
}

.site-branding .site-description {
	margin: 2px 0 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--foliora-muted);
}

/* ---------- Header: height ---------- */
/*
 * The template's header height came from the logo image (21px padding + 65px
 * image = 107px, the offset .site-main uses). Fix the height on desktop and
 * centre the content, so a text title or any logo size lines up the same way.
 */
@media (min-width: 992px) {
	#inner-navigation .navbar {
		min-height: 107px;
		padding-top: 0;
		padding-bottom: 0;
		display: flex;
		align-items: center;
	}

	#inner-navigation .navbar > .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	#inner-navigation .navbar .navbar-nav-wrapper,
	#inner-navigation .navbar .nav.navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
	}

	#inner-navigation .navbar .nav.navbar-nav {
		align-items: center;
	}
}


@media (max-width: 991px) {
	.site-branding .custom-logo {
		max-height: 48px;
	}
}
