/*
Theme Name: Church Elegant
Theme URI: 
Author: Mike Badgley
Author URI: 
Description: An elegant theme with subdued, minimal tones.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: church-elegant
Tags: 
*/

.yoast-breadcrumbs > span {
  display: flex;
  flex-wrap: wrap;
  gap: 1ch;
}

.wp-block-group.is-style-card-article {
  position: relative;

  .wp-block-read-more::before {
    content: '';
    position: absolute;
    inset: 0;
  }

  .wp-block-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
  }

  .wp-block-read-more::after {
    content: '';
    flex: 0 0 auto;
    inline-size: 1em;
    block-size: 1em;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
  }
}

.wp-block-group.is-style-card-lift {
  position: relative;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  will-change: transform;
}

.wp-block-group.is-style-card-lift:hover,
.wp-block-group.is-style-card-lift:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 18, 14, 0.08);
  border-color: rgba(166, 140, 87, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .wp-block-group.is-style-card-lift {
    transition: none;
    will-change: auto;
  }

  .wp-block-group.is-style-card-lift:hover,
  .wp-block-group.is-style-card-lift:focus-within {
    transform: none;
  }
}

/* Button rollovers */
.wp-block-button__link {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.wp-block-button__link.has-custom-olive-background-color:hover {
  background-color: var(--wp--preset--color--custom-olive-dark) !important;
}

.wp-block-button__link.has-custom-accent-background-color:hover {
  background-color: var(--wp--preset--color--custom-olive) !important;
  color: var(--wp--preset--color--base) !important;
}

.wp-block-button__link.has-custom-accent-light-background-color:hover {
  background-color: var(--wp--preset--color--custom-accent) !important;
}

.wp-block-button.is-style-outline .wp-element-button:hover {
  background-color: var(--wp--preset--color--custom-olive) !important;
  color: var(--wp--preset--color--base) !important;
}

.wp-block-button.is-style-outline .wp-element-button.has-base-color:hover {
  color: var(--wp--preset--color--base) !important;
}

.wp-block-button.has-stretched-link,
.wp-block-button.has-stretched-link .wp-block-button__link {
  position: static;
}

.wp-block-button.has-stretched-link .wp-block-button__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
