/*
Theme Name: Abarrotera Central
Theme URI: https://ecusmart.com
Author: Ecusmart
Author URI: https://ecusmart.com
Description: Custom Theme for Abarrotera Central
Requires at least: 6.1
Tested up to: 6.4
Requires PHP: 5.6
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blockstarter
Tags: block-patterns, block-styles, full-site-editing, rtl-language-support, translation-ready

This theme, like WordPress, is licensed under the GPL.
It is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Blockstarter is bootstrapped with Create Block Theme (C) 2022 - present by WordPress.org
Create Block Theme is distributed under the terms of the GNU GPL v2 or later.
*/

/* Alignfull Compatibility */
body {
    overflow-x: hidden;
}
.entry-content .alignfull {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* Header */
.site-header {
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	background: var(--wp--preset--color--header);
}

/*Transparent Header */
.transparent-header {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	position: absolute;
}
.transparent-header > .has-background {
	background: transparent !important;
}
.logged-in.admin-bar .transparent-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.logged-in.admin-bar .transparent-header {
	  top: 48px;
	}
}

/* Content */
.wp-site-blocks {
	overflow: hidden;
}
.hentry .wp-block-post-excerpt__excerpt {
	margin-top: revert !important;
	margin-bottom: revert !important;
}

pre {
	overflow: auto;
}

.wp-caption {
	max-width: 100% !important;
}

/* Meta */
.wp-block-post-author {
	align-items: center;
}

.wp-block-post-author__name {
	margin-bottom: 0;
}

.wp-block-post-author__avatar {
	display: inline-flex;
	align-items: center;
	margin-right: .5rem;
}

.wp-block-post-author__avatar img {
	width: 26px;
	height: 26px;
	border-radius: 100px;
}

/* Style Variations */
.variation-dark .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--base);
	color: #fff;
}
.variation-dark .wp-block-site-logo svg path:nth-child(1) {
	stroke: #fff;
}
.variation-dark .wp-block-site-logo svg path:nth-child(2) {
	fill: #fff;
}

.variation-dark #comment {
	background-color: var(--wp--preset--color--tertiary);
	color: var(--wp--preset--color--white);
}

/* Patterns */
.hero-image.wp-block-cover {
	margin-top: 0;
}

.fullheight {
	min-height: 100vh;
}

.pattern-categories a {
	text-decoration: none;
}

/* Footer */
footer {
	margin-top: 0 !important;
}

@media only screen and (min-width: 600px) {
	header .wp-block-navigation :where(.wp-block-navigation__submenu-container) li:last-child {
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
	}
	header nav {
		padding-right: var(--wp--preset--spacing--medium);
	}
	.is-content-justification-space-between .site-meta {
		flex: 0 0 25%;
	}
	footer .wp-block-search__inside-wrapper {
		width: 50%;
	}
	.sidebar .wp-block-search__inside-wrapper {
		width: 80%;
	}
}