/*
Theme Name: Blocksy Child
Description: Developed for ...
Author: Abstract Marketing
Version: 1.0.0
Template: blocksy
Text Domain: blocksy
Theme Update URI: false
*/

:root {
	--wp--preset--shadow--natural: 0 5px 15px #0002 !important;

	--fancy-shadow: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAgCAMAAADt/IAXAAABj1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/mIOgAAAAhXRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEnqIwtAAAA6JJREFUeNpEkQWCxTAIRLGka/e/6dcE2IFvEzfe0PLx93PMOcZQG6ZmCpmKibKIMAsTZQZKYoIFQyIR7ut6vmnIz/dUE6EIyuelvsKPl9iP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5gboi5W3VmKz88ek+vBOeOTk5APrn7gH/c6rQfT7j/SQqGlUlAIOCrFBg6TPs4nEQwQr7Yg+8J38oG0H5iVAAAAABJRU5ErkJggg==");
}

.wp-block-group.has-text-color :is(h1, h2, h3, h4, h5, h6) {
	color: inherit;
}

article .ct-featured-image {
	padding-bottom: 25px;
}

article .entry-content :is(h1, h2, h3, h4, h5, h6) {
	margin-top: calc(var(--has-content-spacing, 1)*(.3em + 10px));
}

@media (max-width: 700px) {
	.entry-content .wp-block-image {
		display: block;
		float: none;
		text-align: center;
	}
}

.text-center {
	text-align: center;
}

ul.text-center {
	list-style-position: inside;
	padding-inline: 0;
}

@media (max-width: 1023px) {
	.has-1-column-on-laptop { grid-template-columns: 1fr !important }
	.has-2-columns-on-laptop { grid-template-columns: 1fr 1fr !important }
}

@media (max-width: 781px) {
	.has-1-column-on-tablet { grid-template-columns: 1fr !important }
	.has-2-columns-on-tablet { grid-template-columns: 1fr 1fr !important }
}

@media (max-width: 580px) {
	.has-1-column-on-mobile { grid-template-columns: 1fr !important }
	.has-2-columns-on-mobile { grid-template-columns: 1fr 1fr !important }
}

/*
 * Shadows
 * */
.is-style-fancy-shadow {
	position: relative !important;
}

.is-style-fancy-shadow::after {
	content: '';
	background-image: var(--fancy-shadow);
	background-size: var(--width, 100%) var(--height, 50px);
	background-position: top center;
	background-repeat: no-repeat;
	position: absolute;
	top: 100%;
	width: var(--width, 100%);
	left: 0;
	right: 0;
	height: var(--height, 50px);
	opacity: .5;
	z-index: 10;
	pointer-events: none;
	overflow: hidden;
}

.link-icons a[href^="tel:"]::before,
.link-icons a[href^="mailto:"]::before,
.link-icons a[href^="sms:"]::before,
.link-icons a[href^="http"]::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: .15em;
	background-size: contain;
	background-repeat: no-repeat;
}

a:not(:is([href*="rrw"], [href*="redriverwellness"]))::before {
	width: 1.2em;
	height: 1.2em;
	transform: translateY(3px);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" ><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" /><path d="M3.6 9h16.8" /><path d="M3.6 15h16.8" /><path d="M11.5 3a17 17 0 0 0 0 18" /><path d="M12.5 3a17 17 0 0 1 0 18" /></svg>');
}

a[href^="tel:"]::before {
	width: 1.2em;
	height: 1.2em;
	transform: translateY(3px);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2" /></svg>');
}

footer a[href^="tel:"]::before {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2" /></svg>');
}

a[href^="mailto:"]::before {
  width: 1.1em;
  height: 1.1em;
  transform: translateY(3px);
  margin-right: 0.25em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z" /><path d="M3 7l9 6l9 -6" /></svg>');
}

footer a[href^="mailto:"]::before {
  margin-right: 0.25em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z" /><path d="M3 7l9 6l9 -6" /></svg>');
}

a[href^="sms:"]::before {
  width: 1.1em;
  height: 1.1em;
  transform: translateY(3px);
  margin-right: 0.25em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 9h8" /><path d="M8 13h6" /><path d="M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z" /></svg>');
}

.wp-block-details {
  border: 1px solid var(--theme-palette-color-5);
  border-radius: 20px;
}

.wp-block-details summary {
  background-color: var(--theme-palette-color-6);
  padding: .5rem 1rem;
  border-radius: 20px;
  margin-bottom: 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.wp-block-details summary::marker {
  content: '';
}

.wp-block-details summary::after {
  content: '';
  width: 1.5rem;
	flex-shrink: 0;
  aspect-ratio: 1/1;
  background-image: url('data:image/svg+xml;utf8,<svg  xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 24 24"  fill="none"  stroke="currentColor"  stroke-width="1"  stroke-linecap="round"  stroke-linejoin="round"  class="icon icon-tabler icons-tabler-outline icon-tabler-circle-chevron-right"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M11 9l3 3l-3 3" /><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0z" /></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  right: 1rem;
  transition: transform .2s ease;
}

.wp-block-details[open] summary::after {
  transform: rotate(90deg);
  right: 0;
}

.wp-block-details[open] {
  background-color: var(--theme-palette-color-6);
  padding: .5rem 1rem;
}

.wp-block-details[open] summary {
  margin-bottom: 0;
  padding: 0;
  padding-bottom: 1rem;
}


.align-center { text-align: center !important }
.align-center ul { list-style-position: inside; padding-inline-start: 0; }
.align-center :is(.is-layout-flex, .wp-block-boldblocks-svg-block) { justify-content: center !important; }

@media (max-width: 580px) {
	.align-center-on-mobile { text-align: center !important }
	.align-center-on-mobile ul { list-style-position: inside; padding-inline-start: 0; }
	.align-center-on-mobile :is(.is-layout-flex, .wp-block-boldblocks-svg-block) { justify-content: center !important; }
}

@media (max-width: 781px) {
	.align-center-on-tablet { text-align: center !important }
	.align-center-on-tablet ul { list-style-position: inside; padding-inline-start: 0; }
	.align-center-on-tablet :is(.is-layout-flex, .wp-block-boldblocks-svg-block) { justify-content: center !important; }
}

@media (max-width: 1023px) {
	.align-center-on-laptop { text-align: center !important }
	.align-center-on-laptop ul { list-style-position: inside; padding-inline-start: 0; }
	.align-center-on-laptop :is(.is-layout-flex, .wp-block-boldblocks-svg-block) { justify-content: center !important; }
}

.z1, .zi-1     { z-index: 1; position: relative; }
.z5, .zi-5     { z-index: 5; position: relative; }
.z10, .zi-10   { z-index: 10; position: relative; }
.z100, .zi-100 { z-index: 100; position: relative; }

.mr--1 { margin-right: -1rem !important }
.mr--2 { margin-right: -2rem !important }
.mr--3 { margin-right: -3rem !important }
.mr--4 { margin-right: -4rem !important }
.mr--5 { margin-right: -5rem !important }
.mr--6 { margin-right: -6rem !important }
.mr--7 { margin-right: -7rem !important }
.mr--8 { margin-right: -8rem !important }
.mr--9 { margin-right: -9rem !important }
.mr--10 { margin-right: -10rem !important }

.ml--1 { margin-left: -1rem !important }
.ml--2 { margin-left: -2rem !important }
.ml--3 { margin-left: -3rem !important }
.ml--4 { margin-left: -4rem !important }
.ml--5 { margin-left: -5rem !important }
.ml--6 { margin-left: -6rem !important }
.ml--7 { margin-left: -7rem !important }
.ml--8 { margin-left: -8rem !important }
.ml--9 { margin-left: -9rem !important }
.ml--10 { margin-left: -10rem !important }

@media (max-width: 781px) {
    .jc-c-m { justify-content: center }
}

@media (max-width: 580px) {
	.order-first-on-mobile {
		order: -1;
	}
}

@media (max-width: 781px) {
	.order-first-on-tablet {
		order: -1;
	}
}

[class*="gallery-justify-"] .wp-block-image { flex-grow: 0 !important }
.gallery-justify-start { justify-content: start }
.gallery-justify-center { justify-content: center }
.gallery-justify-end    { justify-content: end }


[class*="gallery-crop"] img { object-fit: cover }
[class*="gallery-contain"] img { object-fit: contain }
:is(.gallery-crop-1-1, .gallery-contain-1-1) img  { aspect-ratio: 1/1  }
:is(.gallery-crop-3-2, .gallery-contain-3-2) img  { aspect-ratio: 3/2  }
:is(.gallery-crop-4-3, .gallery-contain-4-3) img  { aspect-ratio: 4/3  }
:is(.gallery-crop-16-9, .gallery-contain-16-9) img { aspect-ratio: 16/9 }
:is(.gallery-crop-21-9, .gallery-contain-21-9) img { aspect-ratio: 21/9 }

.gallery-max-height img {
	max-height: 110px;
}

.wp-block-cover.ken-burns .wp-block-cover__image-background {
  animation: kenBurns 10s linear ;
}

@keyframes kenBurns {
  from { transform: scale(1.2); }
}

.home-cover h1,
.home-cover p {
  filter:
    drop-shadow(0 1px 2px #0009)
    drop-shadow(0 2px 8px #0005)
    drop-shadow(0 2px 18px #0003)
}

.home-cover hr {
  filter:
    drop-shadow(0 1px 2px rgba(160,13,48,0.4))
}

.curve-inward,
.curve-inward-5 {
  position: relative;
  z-index: 1;
}

.curve-inward:not(.is-selected)::before,
.curve-inward:not(.is-selected)::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1920 120' xmlns='http://www.w3.org/2000/svg' fill='%23151a61'%3E%3Cpath fill-rule='evenodd' d='M0 0c320 60 640 90 960 90s640-30 960-90v120H0V0Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
}

.curve-inward::before {
  top: -50px;
}

.curve-inward::after {
  bottom: -50px;
  transform: scaleY(-100%);
}

.curve-inward-5:not(.is-selected)::before,
.curve-inward-5:not(.is-selected)::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1920 120' xmlns='http://www.w3.org/2000/svg' fill='%23dcdee8'%3E%3Cpath fill-rule='evenodd' d='M0 0c320 60 640 90 960 90s640-30 960-90v120H0V0Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
}

.ct-footer {
  position: relative;
  z-index: 1;
}

.curve-inward-5::before {
  top: -50px;
}

.curve-inward-5::after {
  bottom: -50px;
  transform: scaleY(-100%);
}

.ct-footer::before {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1920 120' xmlns='http://www.w3.org/2000/svg' fill='%230b1339'%3E%3Cpath fill-rule='evenodd' d='M0 0c320 60 640 90 960 90s640-30 960-90v120H0V0Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
}

.ct-footer::before {
  top: -50px;
}

.hero-section {
  position: relative;
  padding-bottom: 30px;
}

.hero-section::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1920 120' xmlns='http://www.w3.org/2000/svg' fill='%23fbfbfc'%3E%3Cpath fill-rule='evenodd' d='M0 0c320 60 640 90 960 90s640-30 960-90v120H0V0Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
  z-index: 1;
}

.hero-section::after {
  bottom: 0;
}
