/*
Theme Name:   Aegis Child Theme
Theme URI:    https://github.com/atmostfear-entertainment/aegis-child
Description:  Aegis Child Theme
Author:       Atmostfear Entertainment
Author URI:   https://www.atmostfear-entertainment.com/
Template:     aegis
Version:      1.0.0
License:      GNU General Public License v3
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  Aegis Child Theme
Tags:         accessibility-ready, blog, block-editor-patterns, block-editor-styles, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, one-column, portfolio, rtl-language-support, sticky-post, style-variations, template-editing, threaded-comments, translation-ready, two-columns, wide-blocks, woocommerce

Aegis Child, (c) 2022-2024 Atmostfear Entertainment SAS
Aegis Child is distributed under the terms of the GNU GPL.
*/

body {
    overflow-x: hidden; /* Hide horizontal scrollbar */
    overflow-y: auto; /* Allow vertical scrollbar */
}




/* ------------------------------------------- */
/* Header
/* ------------------------------------------- */
/* Sticky Header *
.header.sticky-header {
  padding: 0!important;
}
*/
/* Site Logo */
.wp-block-site-logo.is-default-size img {
  height: 45px !important;
  width: 45px !important;
}

.wp-block-search__input input {
	background: var(--wp--preset--color--background) !important;
}

/* ------------------------------------------- */
/* Images
/* ------------------------------------------- */
figure a,
figure a:hover,
.wp-block-post-featured-image a,
.wp-block-post-featured-image a:hover,
.wc-block-components-product-image img a,
.wc-block-components-product-image img a:hover {
	background-image: none!important;
}

/* Hover effect */
.wp-block-post-featured-image.is-style-color-hover {
    position: relative;
    overflow: hidden;
}

.wp-block-post-featured-image.is-style-color-hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 30, 0.4); /* Adjusted opacity */
    transition: background-color 0.3s ease;
    z-index: 1;
}

.wp-block-post-featured-image.is-style-color-hover img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.wp-block-post-featured-image.is-style-color-hover:hover::before {
    background-color: rgba(28, 28, 30, 0);
}

/* Core Image Block: Graysacale Hover Style
--------------------------------------------- */
/*
.wp-block-post-featured-image.is-style-grayscale-hover {
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.wp-block-post-featured-image.is-style-grayscale-hover img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.wp-block-post-featured-image.is-style-grayscale-hover:hover img {
  filter: grayscale(0%);
}
*/

/* ------------------------------------------- */
/* WooCommerce
/* ------------------------------------------- */
/* Images */
/*[DISABLED].wc-block-components-product-image img {box-shadow: var(--wp--preset--shadow--foreground-shadow-right-bottom)!important;}*/

/* Buttons */
.wp-block-button.wc-block-components-product-button__button {
  border-width: 2px!important;
  box-shadow: var(--wp--preset--shadow--foreground-shadow-right-bottom)!important;
}

/* ------------------------------------------- */
/* Fluent Forms
/* ------------------------------------------- */
.fluentform_wrapper_44.ffs_custom_wrap .ff-el-input--label label {
    font-size: var(--wp--preset--font-size--tiny) !important;
    color: var(--wp--preset--color--background) !important;
}
.fluent_form_44 .ff_t_c {
    font-size: var(--wp--preset--font-size--tiny) !important;
}

/* ------------------------------------------- */
/* Media Queries
/* ------------------------------------------- */
/* Header *
@media only screen and (min-width: 961px) {
  .header.sticky-header {
    top: 60px!important;
  }
}
*/
/* Navigation *
@media only screen and (max-width: 1366px) {
	.wp-block-navigation__container {
		justify-content: start;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item, 
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, 
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
		align-items: flex-start;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: flex-start;
	}
}
*/


/* Tablet view (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .wp-block-group.has-responsive-dark-background {
        background-color: #0f0f10 !important;
    }
    .wp-block-group.has-responsive-background {
       background: none!important;
    }
}

/* Mobile view (up to 599px) */
@media (max-width: 599px) {
    .wp-block-group.has-responsive-dark-background {
        background-color: #0f0f10 !important;
    }
    .wp-block-group.has-responsive-background {
        background: none!important;
    }
    .wp-block-row.has-logos-padding {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    }
}

/* Tablets in portrait mode (600px to 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    .wp-block-group.has-responsive-dark-background {
        background-color: #0f0f10 !important;
    }
    .wp-block-group.has-responsive-background {
        background: none!important;
    }
}

/* Tablets in landscape mode (900px to 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
    .wp-block-group.has-responsive-dark-background {
        background-color: #0f0f10 !important;
    }
    .wp-block-group.has-responsive-background {
        background: none!important;
    }
}


:where(.wp-site-blocks) > :last-child:last-child {
	margin-block-start: 0!important;
}

:where(.wp-site-blocks) > * {
	margin-block-start: 0 !important;
}