main {
	padding-top: 40px
}

.branding.contained {
	padding: 14px 0 0 0 !important;
}

.site-footer-bottom-bar .site-container .site-footer-bottom-bar-left {
	display: none;
}


h1, h2, h3, h4, h5, h6 {
    clear: none;
}

.wp-block-post-excerpt__excerpt {
    margin-bottom: 16px;
    margin-top: 0;
}

.wp-block-separator  {
    margin: 40px 0;	
}

.page .hentry .wp-block-post {
	min-height: 290px;
}

/** Grounding page */

.grounding-video iframe {
	max-width: 320px;
}

@media screen and (max-width: 530px) {
	.grounding-video.alignright {
		float: none;
	}
	
	.grounding-video iframe {
    max-height: 498px;
    margin-bottom: 20px;
	}
}
	
.grounding-product-grid {
	display: flex;
	flex-direction: row;
	margin-bottom: 60px;
}

.grounding-product img {
	max-width: 100%;
}

a.grounding-product {
	display: block;
	text-decoration: none;
	color: #965f65;
	padding: 10px;
	border-radius: 8px;
	border: 3px solid transparent;
	transition: .25s ease;
}

a.grounding-product:hover {
	background-color: white;
	color: #965f65;
	border: 3px solid #bb777e;
}

a.grounding-product.somatic-book {
	max-width: 320px;
}

img.somatic-exercise-cover {
	max-width: 300px;
}

/** Blog posts page */
figure.wp-block-post-featured-image img {
	max-height: 100%;
	object-fit: contain !important;
}

p + h3,
p + h4 {
	margin-top: 26px;
}

.single .post .entry-thumbnail img {
  max-width: 600px;
  height: auto;
	float: right;
	margin-left: 2em;
	margin-bottom: 2em;
	width: 100%;
}

.wp-block-image.alignright {
	margin-left: 2em;
	margin-bottom: 2em;
}

.site-footer-widgets {
	background-color: #dedbd6;
}

/* Video guides start */

.video-guides-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Optional: limit how wide it can grow on large screens */
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px; /* nice mobile gutter */
}

.video-guides {
  display: block;
  width: 100%;
  max-width: 960px;       /* optional upper bound */
  aspect-ratio: 16 / 9;   /* keeps perfect 16:9 */
  height: auto;
  margin: 20px 0;
  border: 0;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .video-guides-wrapper {
    position: relative;
  }
  .video-guides-wrapper::before {
    content: "";
    display: block;
    width: 100%;
    max-width: 960px;
    /* 16:9 = 56.25% */
    padding-bottom: 56.25%;
  }
  .video-guides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }
}

/* Video guides end */

/* The product grid */
.wp-block-columns.alignwide {
	max-width: 100%;
	margin: 32px 0;
}

.wp-block-columns.alignwide h3 {
	margin: 20px 0;
}

a.product-link {
	display: block;
	text-decoration: none;
	color: #965f65;
	padding: 10px;
	border-radius: 8px;
	border: 3px solid transparent;
	transition: .25s ease;
}

a.product-link:hover {
	background-color: white;
	color: #965f65;
	border: 3px solid #bb777e;
}

/* The product grid end */

p.open-in-youtube-wrapper {
	align-items: center;
	display: flex;
	justify-content: center;
}

a.open-in-youtube {
	background-color: #bb777e;
	color: white !important;
	padding: 10px 14px;
	border-radius: 8px;
}

@media screen and (max-width: 930px) {
.single .post .entry-thumbnail img {
    float: none;
    margin-left: 0;
    margin-bottom: 1em;
	}
	
	.alignwide, .page-template-template-gutenberg .alignwide {
		max-width: 100%;
	}
	
	.wp-block-image.alignright {
		float: none;
		margin-bottom: 1em;
		max-width: 100%;
		margin-left: 0;
	}
	
	ul, ol {
    margin: 0 0 1.5em 1.5em;
	}
}
