/*
Theme Name: Identi-Theme Block Edition
Author: Green Closet Creative
Author URI: https://greenclosetcreative.com

Text Domain: identi-theme-block-edition
Requires at least: 6.0
Requires PHP: 8.0
Tested up to: 7.0
Version: 1.0.0
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Increase horizontal padding on smaller screens.
 * Temporary solution to avoid text content
 * running up to the edge of the browser window,
 * making the text difficult to read.
*/
@media ( max-width: 1024px ) {

	main > :not(.alignfull),
	main .wp-block-query > :not(.alignfull),
	main .entry-content > :not(.alignfull),
	main .entry-content .wp-block-columns.alignfull p {
		padding-left: var(--wp--custom--h-spacing);
		padding-right: var(--wp--custom--h-spacing);
	}
}

/* menu breakpoint */
@media (min-width: 992px) {
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	  display: block;
	  width: 100%;
	  position: relative;
	  z-index: auto;
	  background-color: inherit;
	}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
	  display: none;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
	  left: 0;
	}
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
	  display: none;
	}
	.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
		left: 0;
		right: auto;
	}
	.wp-block-navigation .wp-block-navigation-item:hover a {
		opacity: 0.75;
	}
	.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
		background-color: var(--wp--preset--color--theme-secondary);
	}
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
		color: #fff;
		opacity: 1;
	}
	.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover {
		color: #444;
	}
  }
  
  @media (max-width: 991px) {
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	  display: none;
	}
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
	  display: flex;
	}
  }

/* Schedule Feeds */
#schedule {
	width: 100%;
	text-align: center;
	display: table;
}
#schedule .schedule-item,
#schedule-feed .schedule-item {
	padding: 15px;
	margin-bottom: 15px;
	background-color: var(--wp--preset--color--theme-grey-lt);
}
#schedule .schedule-content,
#schedule-feed .schedule-content {
	font-size: 21px;
	font-weight: bold;
}

.home #icons figure figcaption {
    margin: -20px 0 0;
    font-style: normal;
}
.home #icons figure figcaption a {
	text-decoration: none;
	display: block;
	color: #fff;
}
.home #icons figure:hover {
    transform: scale(1.1);
	transition: all 0.3s ease-in-out;
}

/* schedule feed */
#schedule-feed {
	text-align: center;
	width: 100%;
	max-width: 850px;
	margin: 0 auto;
} 
#schedule-feed .schedule-item:nth-child(even) {
	background-color: var(--wp--preset--color--theme-white);
}


@media screen and (min-width: 600px) {
	#schedule .schedule-item {
		width: calc(49% - 30px);
		float: left;
	}
	#schedule .schedule-item:nth-child(odd) {
		margin-right: 2%;
	}
	#schedule-feed .schedule-date {
		text-align: left;
		width: 200px;
		float: left;
	}
}
@media screen and (min-width: 992px) {
	#schedule .schedule-item {
		width: calc(24% - 30px);
	}
	#schedule .schedule-item:not(:nth-child(4)) {
		margin-right: 1%;
	}

	.home .has-vertical-alignment-bottom.has-horizontal-alignment-left .wp-block-getwid-banner__caption {
		padding-left: 10%;
	}
}