/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.brxe-form .bricks-button,
.brxe-button {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 252px;
	min-height: 57px;
}

.brxe-heading.bricks-type-lead {
	margin: 0px;
    padding: 30px;
    border: 1px solid currentColor;
}

.brxe-heading.bricks-type-lead.bricks-color-light {
	border-color: #FFFFFF4F;
}

.brxe-post-content p:last-of-type:not(:is(:last-child)) {
	margin-block: 0 1.2em;
}

.brxe-post-content a:not([class]),
.brxe-text a:not([class]) {
	color: var(--bricks-color-sugoqg, #2c4460) !important;
	transition: all .3s ease-in-out;
}

.brxe-post-content a:not([class]):hover,
.brxe-text a:hover {
	text-decoration: underline;
}

.brxe-post-content .wp-block-heading {
	color: var(--bricks-color-sugoqg, #2c4460);
	margin-block-end: .25em;
}

/*
 * Single Post Template
 * */

.single-post .wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 2px;
}

.single-post .wp-block-gallery.has-nested-images > .wp-block-image {
	width: 100% !important;
	overflow: hidden;
	cursor: zoom-in;
}

.single-post .wp-block-gallery.has-nested-images > .wp-block-image img {
	aspect-ratio: 4000/2667;
	object-fit: cover;
}

.single-post .brxe-post-content a {
	color: var(--bricks-color-sugoqg, #2c4460) !important;
}

.single-post .brxe-post-content .wp-block-heading {
	margin-bottom: 20px;
}

.single-post .pswp__img {
	object-fit: contain;
}

.single-post blockquote cite {
	color: var(--bricks-color-sugoqg, #2c4460);
	opacity: 1;
}

/* @media (max-width: 767px) {
	.single-post .wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2,1fr);
	}
} */