* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

.more-link {
	display: block;
}

.wp-block-post-title {
	display: none;
}

.form form {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.input-form {
	width: calc(50% - 10px);
}

.input-full {
	width: 100%;
}

.textarea-form {
	width: 100%;
}

.textarea-form textarea {
	height: 166px;
	resize: none;
}

.uagb-forms-main-submit-button-wrap {
	display: flex;
	width: 100%;
	justify-content: center;
}

.uagb-forms-success-message{
text-align: center;
}
#sb_instagram {
	padding-inline: 50px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		translate: 0 100px;
		scale: .5;
	}

	to {
		opacity: 1;
		translate: 0 0;
		scale: 1;
	}
}

.animate-range-default {
	view-timeline-name: --revealing;
	view-timeline-axis: block;
	animation: linear 0.5s fadeIn;
	animation-timeline: --revealing;
	animation-range: entry 25% cover 40%;
	animation-fill-mode: both;
}

.section-gallery.wp-block-uagb-image-gallery {
	--wp--style--global--content-size: var(--wp--style--global--wide-size);
}

.section-gallery.wp-block-uagb-image-gallery .spectra-image-gallery {
	gap: 20px;
}

.section-gallery.wp-block-uagb-image-gallery .spectra-image-gallery__media--grid {
	aspect-ratio: unset;
	width: 100%;
	height: 310px;
}

.section-gallery.wp-block-uagb-image-gallery .spectra-image-gallery__media-wrapper {
	overflow: hidden;
	border-radius: 16px;
}

.section-gallery.wp-block-uagb-image-gallery .spectra-image-gallery__media-thumbnail-caption-wrapper--overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%);
}

.section-gallery .wp-block-column p,
.section-gallery .spectra-image-gallery__media-thumbnail-caption {
	border-bottom: 2px solid transparent;
	transition: border-bottom .3s ease;
	max-width: max-content;
	margin: 0 auto;
	padding-bottom: 10px;
}

.section-gallery .spectra-image-gallery__media-thumbnail-caption {
	height: 95%;
}

.section-gallery .wp-block-column:hover p,
.section-gallery .spectra-image-gallery__media-wrapper:hover .spectra-image-gallery__media-thumbnail-caption {
	border-bottom: 2px solid var(--wp--preset--color--custom-purple);
}

@media screen and (min-width: 767px) {
	.section-gallery.wp-block-uagb-image-gallery .spectra-image-gallery {
		gap: 32px;
	}
}

/* Block Editor */
.entry-content .wp-block-list {
	padding-left: 1rem;
}

/* Custom theme  */
@media screen and (min-width: 767px) and (max-width: 1500px) {

	.page .wp-block-media-text__content .uagb-heading-text {
		font-size: 42px !important;
	}

	.page .wp-block-media-text__content p,
	.page .wp-block-media-text__content .wp-block-list {
		font-size: 18px !important;
	}

}

/* Contact Form 7 */

.wpcf7-form .form > *{
    box-sizing: border-box;
}
.wpcf7-form .form{
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    
}
.wpcf7-form .form input, .wpcf7-form .form textarea,.wpcf7-form .form select{
    background-color: #323232;
    min-height: 40px;
    border: none;
    border-radius: 20px;
    outline: none;
    width: 100%;
    position: relative;
    font-size: 16px;
    padding: 4px 16px;
    color: #fff;
    box-sizing: border-box;
}

.wpcf7-form .form label{
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.wpcf7-form .form label span{
    margin-top: 10px;
    margin-bottom: 10px;
}

@media (max-width: 991px){
    .wpcf7-form{
        padding: 0 20px;
    }
    .wpcf7-form .input-form{
        width: 100%;
    }
}