/*
Theme Name: GRCC Bloch
Theme URI: 
Author: Always Open Design
Author URI: 
Description: A block theme for GRCC
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: greyd-wp
Text Domain: grcc-bloch
Tags: 
*/

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	overflow-x: hidden;
	scrollbar-color: var(--wp--preset--color--custom-primary-warm) var(--wp--preset--color--secondary);
}

a,
.wp-block-post-title a {
	color: inherit;
	text-decoration: underline solid currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: text-decoration-color .3s ease, text-decoration-thickness .3s ease;
}

a:hover,
a:focus,
a:active {
	color: inherit;
	text-decoration-color: #ECEA6E;
	text-decoration-thickness: 3px;
}

main li.current-menu-item a {
	font-weight: bold;
	text-decoration: underline;
}

:where(body:not(.archive):not(.single-post)) .yoast-breadcrumbs {
    color: #fff;
& a {
    color: #fff;
    }
}

.yoast-breadcrumbs { 
    font-size: .9rem;
    padding-inline: 5px;
}

.is-space-between {
    align-items: stretch;
}

.is-space-between .wp-block-cover__inner-container {
    max-width: var(--wp--style--global--content-size);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wp-block-post-template li .wp-block-cover {
	overflow: hidden;
}


.featured-event,
.featured-home, 
.wp-block-query li.wp-block-post {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-post-template li .wp-block-cover .wp-block-cover__inner-container,
.is-style-scale-on-hover .wp-block-cover__inner-container {
	position: static;
	z-index: 2;
}

.is-style-scale-on-hover p a::after, 
.wp-block-post-template .wp-block-cover a::after,
.featured-home a::after,
.wp-block-query .wp-block-post-title a::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
}

.wp-block-post-excerpt__more-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.wp-block-post-excerpt__more-link::after {
	content: '→';
	transition: transform 0.2s ease;
}

.wp-block-post-excerpt__more-link:hover::after {
	transform: translateX(0.25em);
}


.featured-event .wp-block-post-excerpt a::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.featured-event:hover {
    /* Add subtle hover effect to whole card */
    transform: translateY(-2px);
    box-shadow: -4px 4px 0 var(--wp--preset--color--secondary);
}

.wp-block-outermost-icon-block.impact  .has-icon-color svg {
    filter: drop-shadow(-1px 1px 0 #ecea6e);
}

.has-white-bg img {
    background: #fff;
}

h1.is-not-shadowed {
    filter: none;
}

.wp-block-mfb-meta-field-block span.prefix {
    font-weight: 700;
}

input.mn-widget-searchbox-searchbtn {
    margin-block-start: 1rem;
}

.has-clip-top-right {
    clip-path: polygon(0 0, 93% 0%, 100% 10%, 100% 100%, 0 100%);
}

.wp-block-accordion-item > h3.wp-block-accordion-heading {
    font-size: var(--wp--preset--font-size--base) !important;
    border-bottom: 1px solid var(--wp--preset--color--base);
}

.single-malt_row .anww-external-link-icon:before,
.sponsor-wrap .anww-external-link-icon:before {
    display: none;
}

/*temp sf artwalk listings */

form#search-filter-form-17314 > ul {
    display: flex;
    gap: 1rem;
}

/* Chamber Template - Header Adjust*/

.page-id-3309 .wp-block-columns.wp-container-core-columns-is-layout-28f84493 {
    width: 100%;
}

@media screen and (max-width: 781px) {
    
    .is-mobile-centered {
        display: flex;
        justify-content: center;
        margin-inline: auto;
    }
    
  .is-style-spotlight-right {
    clip-path: polygon(0 2%, 100% 0%, 100% 100%, 0 98%);
  }
  
  .is-style-spotlight-left {
      clip-path: polygon(0 0, 100% 2%, 100% 98%, 0% 100%);
  }
  
  .featured img.wp-post-image {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    }
}

@media screen and (max-width: 600px) {
    .wp-block-cover.is-style-right-clip {
        clip-path: polygon(100% 0%, 100% 80%, 90% 100%, 0% 100%, 0 100%, 0% 0%);
    }
    .wp-block-cover.is-style-bottom-clip {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    }
    
    .is-style-two-col {
        column-count: 1;
    }
  
}

/* editor styles */

.editor-styles-wrapper .wp-block-post-title:is(h1),
.single-team h1 {
	filter: none;
}

#editor, #site-editor {
	scrollbar-color: auto;
}