html {
	scroll-behavior: smooth;
}


input[type="submit"] {
	color: rgb(var(--tripp-color-background-rgb));
}

.extra-menu {
	display: none;
}

.wp-block-image.circle-image img {
	border-radius: 50% !important;
	max-width: 318px;
}


.wp-block-jetpack-instagram-gallery {
	& img {
		aspect-ratio: 1;
		border-radius: 20px;
	}
}

/* MAIN NAVIGATION > SUBSCRIBE BUTTON */ 
#menu-item-11482 {
	& a {
		& span {
			background: white;
			-webkit-text-fill-color: black;
			padding: 8px 12px;
			border-radius: 10px;
		}
	}
}

/* ABOUT > HOVER STATES */
.page-id-709 .flext-lightbox-link:hover::after {
	display: none !important;
}

.post-thumbnail a {
	z-index: 999;
}

/* INSTAGRAM FEED > HOVER STATE */
.wp-block-jetpack-instagram-gallery:hover .wp-block-jetpack-instagram-gallery__grid-post:not(:hover) {
	opacity: 0.75;
}

.wp-block-jetpack-instagram-gallery__grid-post {
	transition: opacity ease-in-out 0.25s;

	&:hover {
		opacity: 1;
	}
}

.jp-relatedposts {
	display: none !important;
}

.sharedaddy {
	display: none !important;
}


/* POPUP MAKER > NEWSLETTER SIGNUP */
#popup-newsletter {
	display: flex;
	gap: 40px;
}

#popup-newsletter .col-image {
	width: 35%;
}

#popup-newsletter .col-copy {
	width: 65%;
}

#popup-newsletter .mc4wp-form .mc4wp-form-fields {
    padding: 0;
    margin-top: 20px;
}

.pum-container.pum-responsive {
	width: 85%;
}

.popmake.theme-12146 {
	position: relative;
	background-image: url('https://veravitamagazine.com/wp-content/uploads/2024/07/pexels-michael-block-1691617-3225528.jpg');
	background-size: cover;
	background-repeat: no-repeat;
}

.popmake.theme-12146::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 129, 76, 0.9);
    z-index: 1;
    height: 100%;
    width: 100%;
}

.popmake.theme-12146 img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}



/* DIGITAL MAGAZINE */
/*
body:has(.veravita-digital-magazine-embed) {
	& main {
		padding-left: 0;
		padding-right: 0;
	}
	
	& main#site-content .entry-content {
		margin-bottom: 0;
	}
	
	& .single-entry-footer {
		display: none;
	}
	
	& section.main-content {
		border-top: 2px solid white;
	}
}
*/

.postid-12140 .single-entry-footer,
.postid-14176 .single-entry-footer {
	display: none;
}

.term-digital-magazine .posts-filters {
	display: none;
}

.postid-12140 .single-entry-header,
.postid-14176 .single-entry-header {
    display: none !important;
}

.postid-12140 .related-posts,
.postid-14176 .related-posts {
    display: none;
}

.postid-12140 .entry-content,
.postid-14176 .entry-content {
        padding-top: 0 !important;
        margin-bottom: 80px;
}

.veravita-digital-magazine-embed-disclaimer {
	background-color: #007c73;
	margin: 0;
	padding: 0;
	text-align: center;
	max-width: none;
	
	& p {
		margin: 0 auto;
		padding: 12px 20px;
		max-width: 1000px;
		font-size: 14px;
	}
	
	& a {
		text-decoration: underline;
		font-weight: bold;
	}
}


@media (min-width: 1080px) {
	.desktop-menu .menu-button {
		display: none;
	}

	.home video {
		width: 100% !important;
		height: auto !important;
	}

	.video-height {
		min-height: 55vw !important;
	}

	.video-height.mobile {
		display: none;
	}
}



@media (min-width: 600px) {
	#popup-newsletter .mobile-only {
		display: none !important;
	}

	#popup-newsletter .desktop-only {
		display: block !important;
	}
}



@media (max-width: 1079px) {
	.video-height.desktop {
		display: none;
	}
}



@media (max-width: 1023px) {
	.wp-block-jetpack-instagram-gallery {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}



@media (max-width: 767px) {
	.wp-block-jetpack-instagram-gallery {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}



@media (max-width: 599px) {
	.wp-block-jetpack-instagram-gallery {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	#popup-newsletter {
		flex-wrap: wrap;
		flex-direction: column-reverse;

        & .col-image {
            margin: auto;
            width: 100%;
        }

        & .col-copy {
            width: 100%;
        }

        & .mobile-only {
            display: block !important;
        }

        & .desktop-only {
            display: none !important;
        }
    }

	.popmake.theme-12146 img {
		max-height: 250px;
		object-fit: contain;
	}
}
