/*
Theme Name: Virza
Author: 1mdalamin1
Author URI: https://profiles.wordpress.org/1mdalamin1/
Description: Virza emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Copyright: 2024-2025 1mdalamin1
Text Domain: virza
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, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/* Link styles */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* 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;
}


.wp-site-blocks .virza-none {
  display: none;
}

/* On navigation__responsive Sub Menu 
has-modal-open is-menu-open
*/

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open li.wp-block-navigation-item.has-child.wp-block-navigation-submenu ul {
  display: none;
  transition: 0.3s;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open li.wp-block-navigation-item.has-child.wp-block-navigation-submenu.open ul {
  display: block;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open li.wp-block-navigation-item.has-child.wp-block-navigation-submenu>a.wp-block-navigation-item__content {
  position: relative;
  z-index: 1;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open li.wp-block-navigation-item.has-child.wp-block-navigation-submenu>a.wp-block-navigation-item__content:after {
  position: absolute;
  right: -26px;
  top: 3px;
  width: 20px;
  height: 20px;
  content: url("/wp-content/themes/virza/assets/images/arrow-down.svg");
}

/* Off navigation__responsive Sub Menu opmhs-menu */
.opmhs-menu.is-stuck{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}





/* Desktop Layout */
@media (min-width:992px) {
  .wp-site-blocks .virza-none-d {
    display: none;
  }
}
/* Tablet Layout: 768px */
@media only screen and (min-width:768px) and (max-width:991px){
  .wp-site-blocks .virza-none-d {
    display: none;
  }
}
/* Mobile Layout */
@media (max-width:767px) {
  .wp-site-blocks .virza-none-m {
    display: none;
  }
  .wp-site-blocks .virza-c1-m {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .wp-site-blocks .virza-c2-m {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wp-site-blocks .virza-t-center-m {
    text-align: center;
  }
}
