/*
Theme Name: Baytek 3.0
Theme URI:
Author: Chad Sehn
Author URI:
Description: Theme for the new Baytek Brand
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.3.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baytek-3-0
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}
a:focus:not(:focus-visible) {
	outline: none;
}

:root :where(.is-style-bold-circle-light-orange strong, .is-style-bold-circle-orange strong, .is-style-bold-circle-yellow strong, .is-style-bold-circle-purple strong)::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	transform: scaleX(1.18) scaleY(1.55);
	transform-origin: center;
}

:root :where(.is-style-bold-circle-light-orange strong)::after {
	background-image: url(/wp-content/themes/baytek-3-0/assets/images/circle-light-orange.svg);
}

:root :where(.is-style-bold-circle-orange strong)::after {
	background-image: url(/wp-content/themes/baytek-3-0/assets/images/circle-orange.svg);
}

:root :where(.is-style-bold-circle-purple strong)::after {
	background-image: url(/wp-content/themes/baytek-3-0/assets/images/circle-purple.svg);
}

:root :where(.is-style-bold-circle-yellow strong)::after {
	background-image: url(/wp-content/themes/baytek-3-0/assets/images/circle-yellow.svg);
}

/* Focus styles */

:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
 */

.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */

:where(pre) {
	overflow-x: auto;
}

:where(.is-style-section-speckled)::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: rgba(244, 228, 182, 0.302);
	-webkit-mask-image: url(/wp-content/themes/baytek-3-0/assets/images/noise.svg);
	        mask-image: url(/wp-content/themes/baytek-3-0/assets/images/noise.svg);
	-webkit-mask-repeat: repeat;
	        mask-repeat: repeat;
	-webkit-mask-size: 120px 120px;
	        mask-size: 120px 120px;
	opacity: 0.20;
	mix-blend-mode: overlay;
}

:root :where(.yoast-breadcrumbs.is-style-eyebrow) {
	width: fit-content;
	padding-top: var(--wp--preset--spacing--10);
	padding-right: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--10);
	padding-left: var(--wp--preset--spacing--30);
	background-color: var(--wp--preset--color--eggplant-400);
	color: var(--wp--preset--color--eggplant-950);
	-webkit-mask-image: url(/wp-content/themes/baytek-3-0/assets/images/eyebrow.svg);
	        mask-image: url(/wp-content/themes/baytek-3-0/assets/images/eyebrow.svg);
	-webkit-mask-position: center;
	        mask-position: center;
	-webkit-mask-size: cover;
	        mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	border-radius: var(--wp--preset--border-radius--xs);
	font-family: var(--wp--preset--font-family--geist-mono);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	line-height: 1.5;
}

body.single-work {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black);
}


