/**
 * Single blog post — hero banner, featured image, share card.
 */

@font-face {
	font-display: swap;
	font-family: "La Roue";
	font-style: normal;
	font-weight: 400;
	src:
		url("../fonts/LaRoue-Regular.woff2") format("woff2"),
		url("../fonts/LaRoue-Regular.woff") format("woff");
}

@font-face {
	font-display: swap;
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	src:
		url("../fonts/SourceSans3-Regular.woff2") format("woff2"),
		url("../fonts/SourceSans3-Regular.woff") format("woff");
}

@font-face {
	font-display: swap;
	font-family: "True Fate Script";
	font-style: normal;
	font-weight: 400;
	src:
		url("../fonts/TrueFateScript-Regular.woff2") format("woff2"),
		url("../fonts/TrueFateScript-Regular.woff") format("woff");
}

body.single-post,
body.single-post .site-inner {
	background-color: #fff;
}

.single-post-hero {
	--single-post-hero-image-overlap: 7rem;
	box-sizing: border-box;
	margin: 0 calc(50% - 50vw) 0;
	width: 100vw;
}

.single-post-hero__banner {
	background-color: var(--wp--preset--color--plum, #844367);
	box-sizing: border-box;
	color: #fff;
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 0;
	padding: 32px 0 0;
	position: relative;
}

.single-post-hero__banner a {
	color: inherit;
	text-decoration: none;
}

.single-post-hero__banner a:hover,
.single-post-hero__banner a:focus {
	color: inherit;
	opacity: 0.85;
}

.single-post-hero__inner {
	flex: 1 1 auto;
	margin: 0 auto;
	max-width: 673px;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
	text-align: center;
	width: 100%;
}

/* Image overlap clearance sits above breadcrumbs so they stay at the banner bottom. */
.single-post-hero:has(.single-post-hero__media-wrap) .single-post-hero__inner {
	padding-bottom: 3.5rem;
}

.single-post-hero__category {
    color: inherit;
    font-family: var(--wp--preset--font-family--true-fate-script);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 5px;
}

.single-post-hero h1.single-post-hero__title {
	color: inherit;
	font-family: var(--wp--preset--font-family--la-roue, "La Roue", Georgia, serif);
	font-size: 35px;
	font-weight: 400;
	line-height: 35px;
	margin: 0 auto 1rem;
	max-width: 673px;
}

.single-post-hero__meta {
	color: inherit;
	font-family: var(--wp--preset--font-family--source-sans-3, "Source Sans 3", sans-serif);
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
}

.single-post-hero__meta time {
	color: inherit;
	display: block;
}

.single-post-hero__author {
	color: inherit;
	margin: 0.25rem 0 0;
}

.single-post-hero__breadcrumb {
	margin-top: auto;
	padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 4vw, 3rem);
	text-align: left;
	width: 100%;
}

.single-post-hero__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	font-family: var(--wp--preset--font-family--source-sans-3, "Source Sans 3", sans-serif);
	font-size: 13px;
	gap: 0;
	line-height: 1.4;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-post-hero__breadcrumb-item {
	display: inline-flex;
	align-items: center;
}

.single-post-hero__breadcrumb-item:not(:last-child)::after {
	content: " / ";
	opacity: 0.85;
	white-space: pre;
}

.single-post-hero__breadcrumb-link,
.single-post-hero__breadcrumb-current {
	color: inherit;
	text-decoration: none;
}

.single-post-hero__breadcrumb-link:hover,
.single-post-hero__breadcrumb-link:focus {
	opacity: 0.85;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.single-post-hero__stripe {
	background-color: transparent;
	background-image: url(../images/purple-striped-bar.svg);
	background-position: center;
	background-repeat: repeat-x;
	background-size: auto 20px;
	border: none;
	display: block;
	height: 20px;
	margin: 0;
	max-width: none;
	opacity: 1;
	padding: 0;
	width: 100%;
}

.single-post-hero__media-wrap {
	margin: calc(var(--single-post-hero-image-overlap) * -1) auto 0;
	max-width: 673px;
	padding: 0;
	position: relative;
	width: 100%;
}
.single-post .post-content {
	max-width: 848px;
	margin: 0 auto;
}

.single-post .post-content p a {
	color: #844367;
	font-weight: 600;
}

.single-post .post-content .mtt-affiliate-disclosure {
	color: var(--wp--preset--color--dark-brown, #4c3600);
	font-family: var(--wp--preset--font-family--source-sans-3, "Source Sans 3", sans-serif);
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.5;
	margin: 2.5rem 0;
	max-width: 100%;
	opacity: 0.85;
	text-align: center;
}

/* Full-width breakout blocks within constrained post content. */
.single-post .post-content .mtt-post-full-width {
	box-sizing: border-box;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.single-post .post-content .mtt-post-full-width.wp-block-image img,
.single-post .post-content .mtt-post-full-width.wp-block-gallery .wp-block-image img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.single-post .post-content .mtt-post-full-width.wp-block-gallery {
	margin-bottom: 0;
	margin-top: 0;
	padding-left: 0;
	padding-right: 0;
}

.single-post .post-content .mtt-post-full-width.wp-block-columns,
.single-post .post-content .mtt-post-full-width.wp-block-grid {
	padding-left: 0;
	padding-right: 0;
}

.single-post .post-content .mtt-shop-the-post {
	box-sizing: border-box;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.single-post-hero__figure {
	margin: 0;
	position: relative;
}

.single-post-hero__image {
	display: block;
	height: auto;
	margin: 0 auto;
	width: 100%;
}

/* Share card */

.single-post-share {
    background-image: url(../images/share-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    left: -44px;
    height: 161px;
    width: 88px;
    padding: 0;
    position: absolute;
    top: 30px;
    z-index: 2;
    box-sizing: border-box;
}

.single-post-share__list {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 11px 0 0;
}

.single-post-share__item {
	line-height: 0;
	margin: 0;
}

.single-post-share__link,
.single-post-share__button {
	align-items: center;
	background: transparent;
	border: none;
	color: #fffbf8;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	min-height: 35px;
	min-width: 44px;
	padding: 0.5rem;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.single-post-share__link:hover,
.single-post-share__link:focus,
.single-post-share__button:hover,
.single-post-share__button:focus {
	opacity: 0.8;
}

.single-post-share__link svg,
.single-post-share__button svg {
	display: block;
	height: auto;
	max-height: 13px;
	max-width: 13px;
	width: auto;
}

.single-post-share__button.is-copied {
	opacity: 0.7;
}

.single-post-share__sr-status {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* -------------------------------------------------------------------------
   Explore bar + related posts
   ------------------------------------------------------------------------- */

.single-post-explore {
	margin: 0;
}

.single-post-explore__bar {
	background-color: var(--wp--preset--color--terracotta, #CB7761);
	box-sizing: border-box;
	color: var(--wp--preset--color--white, #fff);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.single-post-explore__stripe {
	background-color: transparent;
	background-image: url(../images/orange-stripped-bar.svg);
	background-position: center;
	background-repeat: repeat-x;
	background-size: auto 20px;
	height: 20px;
	width: 100%;
}

.single-post-explore__bar-inner {
	align-items: center;
	box-sizing: border-box;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
	margin-left: auto;
	margin-right: auto;
	max-width: 1400px;
	padding: 40px 4%;
	width: 100%;
}

@media (min-width: 48rem) {
	.single-post-explore__bar-inner {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}
}

.single-post-explore__nav-slot {
	display: flex;
	min-width: 0;
}

.single-post-explore__nav-slot--prev {
	justify-content: flex-start;
}

.single-post-explore__nav-slot--next {
	justify-content: flex-end;
}

.single-post-explore__nav {
	align-items: center;
	border: 1px solid currentColor;
	color: inherit;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--source-sans-3, "Source Sans 3", sans-serif);
	font-size: var(--wp--preset--font-size--13, 13px);
	font-weight: 700;
	gap: 0.35rem;
	letter-spacing: 0.1em;
	padding: 0.5rem 0.875rem;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.single-post-explore__nav:hover,
.single-post-explore__nav:focus {
	background-color: rgba(255, 255, 255, 0.1);
	color: inherit;
}

.single-post-explore__nav:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.single-post-explore__nav-arrow {
	display: inline-flex;
	line-height: 0;
}

.single-post-explore__nav-arrow svg {
	display: block;
	height: auto;
	width: 18.308px;
}

.single-post-explore__nav--next .single-post-explore__nav-arrow svg {
	transform: scaleX(-1);
}

.single-post-explore__heading {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	justify-content: center;
	line-height: 1.1;
	margin: 0;
	text-align: center;
}

.single-post-explore__heading-script {
	font-family: var(--wp--preset--font-family--true-fate-script, "True Fate Script", cursive);
	font-size: 40px;
	font-weight: 400;
}

.single-post-explore__heading-serif {
	font-family: var(--wp--preset--font-family--la-roue, "La Roue", Georgia, serif);
	font-size: 45px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: uppercase;
}

.single-post-explore__grid {
	padding-bottom: 0;
}

@media (max-width: 1080px) {
	.single-post-hero__banner {
		padding-top: 33px;
	}

	.single-post-hero__breadcrumb {
		left: 0;
		margin-top: 0;
		padding: 10px;
		position: absolute;
		top: 0;
		z-index: 1;
	}

	.single-post-explore__grid > article:nth-child(3) {
		display: none;
	}
}

@media (max-width: 768px) {
	.single-post-hero__media-wrap {
		margin: 34px auto 0;
		max-width: 80%;
	}

	.single-post-hero__inner {
		padding: 20px 30px 40px;
	}

	.single-post-hero__banner {
		height: auto;
		max-height: none;
		min-height: 0;
	}

	.single-post .post-content {
		max-width: 90%;
	}

	.single-post-explore__bar-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.single-post-explore__nav-slot--prev {
		grid-column: 1;
		grid-row: 1;
	}

	.single-post-explore__nav-slot--next {
		grid-column: 2;
		grid-row: 1;
	}

	.single-post-explore__heading {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

@media (max-width: 600px) {
	.single-post-share {
		display: none;
	}
}
