/*
Theme Name: New Albany Presbyterian
Theme URI: https://newalbanypresbyterian.org
Author: New Albany Presbyterian Church
Author URI: https://newalbanypresbyterian.org
Description: Custom block theme for New Albany Presbyterian Church.
Version: 0.1.0
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newalbanypresbyterian
*/

:root {
	--fa-width:   1em;
	--fa-display: inline-block;
}

header.wp-block-template-part,
footer.wp-block-template-part,
main {
	margin: 0;
}

h1 {
	font-size: var(--wp--preset--heading-font-size--xx-large);
}

h2 {
	font-size: var(--wp--preset--heading-font-size--large);
}

h3 {
	font-size: var(--wp--preset--heading-font-size--small);
}

h1, h2, h3 {
	&.wp-block-heading mark {
		font-size: 1.444em;
	}
}

.gform_wrapper {
	h3 {
		font-size: var(--wp--preset--font-size--x-large);
		margin-block: 0.75em;
	}
}

a, a:hover {
	color: var(--wp--preset--color--teal);
}

.wp-block-heading.has-x-small-font-size {
	font-size: 1.25rem;
}


.wp-block-paragraph.has-xxx-large-font-size {
	font-size: clamp(1.25rem, calc(1.25rem + var(--wp--custom--typography--fluid-unit)), 1.5rem);
}

.has-sans-font-family {
	letter-spacing: normal;
}

.has-sans-heading-family {
	letter-spacing: -0.082em
}

/* Columns — Equal Width (force all columns to same width) */

@media (min-width: 782px) {
	.wp-block-columns.is-style-equal-width > .wp-block-column {
		flex:      1 1 0% !important;
		min-width: 0;
	}
}

.image-overlap-diagonal {
	position: relative;
}

.image-overlap-diagonal > .wp-block-image {
	width:  100%;
	margin: 0;
}

.image-overlap-diagonal > .wp-block-image:first-child {
	z-index:    1;
	text-align: left;
}

.image-overlap-diagonal > .wp-block-image:last-child {
	z-index:    2;
	text-align: right;

	img {
		display:    inline-block;
		margin-top: -25%;
	}
}

.image-overlap-diagonal img {
	width: 66.7%;
}