/**
 * Single post — hero banner + article body (dark theme).
 */

.single-post {
	position: relative;
	z-index: 0;
	color: var(--lp-color-white);
}

.single-post__shell {
	padding-top: clamp(1rem, 3vw, 1.75rem);
}

/* —— Hero —— */
.single-post-hero {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.single-post-hero h2 {
	background: linear-gradient(270deg, #FF9D00 -0.86%, #FFF 97.17%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: table;
	margin-bottom:10px;
}


.single-post-hero__breadcrumbs {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

.single-post-hero__yoast-bc,
.single-post-hero__yoast-bc a {
	color: var(--lp-color-white-90);
}

.single-post-hero__yoast-bc a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.single-post-hero__yoast-bc a:hover,
.single-post-hero__yoast-bc a:focus-visible {
	color: var(--lp-color-pink);
}


.single-post-hero__yoast-bc .breadcrumb_last,
.single-post-hero__yoast-bc span:last-child {
	font-weight: 600;
}
.single-post-hero__yoast-bc .breadcrumb_last {
	color: var(--lp-color-pink);
}

.single-post-hero__banner {
	position: relative;
	overflow: hidden;
	min-height: clamp(17rem, 52vw, 26rem);
	border-radius: clamp(1rem, 2vw, 1.75rem);
	background: var(--lp-color-zinc-800);
	box-shadow: 0 1rem 2.5rem var(--lp-color-shadow-25);
}



.single-post-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.45) 42%,
		rgba(0, 0, 0, 0.12) 100%
	);
	pointer-events: none;
}

.single-post-hero__overlay {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: clamp(17rem, 52vw, 26rem);
	padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
	gap: 0.75rem;
}
.single-post-hero__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    mask: linear-gradient(to bottom, transparent 0%, black 80%);
    backdrop-filter: blur(6px);
	z-index:-1;
}

.single-post-hero__title {
	margin: 0;
	font-family: var(--lp-font-sans);
	font-size: clamp(1.35rem, 3.5vw, 2.25rem);
	font-weight: 800;
	font-style: italic;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lp-color-white);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.single-post-hero__excerpt {
	margin: 0;
	font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
	line-height: 1.55;
	font-weight: 400;
	color: var(--lp-color-white-90);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* —— Body —— */
.single-post__body {
	position: relative;
	z-index: 1;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--lp-color-white-90);
	border-radius: 40px;
    background: var(--lp-color-zinc-800);
    padding: 40px 30px;
}

.single-post__body > *:first-child {
	margin-top: 0;
}

.single-post__body > *:last-child {
	margin-bottom: 0;
}

.single-post__body h2,
.single-post__body h3,
.single-post__body h4 {
	margin: 1.5em 0 0.5em;
	color: var(--lp-color-white);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.single-post__body h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.single-post__body p {
	margin: 0 0 1.1em;
}

.single-post__body a {
	color: var(--lp-color-pink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: color 0.2s ease;
}

.single-post__body a:hover,
.single-post__body a:focus-visible {
	color: var(--lp-color-pink-hover);
}

.single-post__body ul,
.single-post__body ol {
	margin: 0 0 1.1em 1.25rem;
}

.single-post__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--lp-radius-card-md);
}

.single-post__body blockquote {
	margin: 1.25em 0;
	padding: 1rem 1rem 0.8rem 1rem;
	border-radius: 20px;
	border: 0.5px solid var(--SC, #00e5af);
	background: rgba(0, 229, 175, 0.05);
	color: var(--SC, #00e5af);
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.55;
}

/* Full-width single (ACF `with_sidebar` off) — no two-column shell */
.single-post-layout--full {
	color: var(--lp-color-white);
}
/* —— Tables (Core block `table.has-fixed-layout`, etc.) —— */
.single-post__body .wp-block-table {
	margin: 1.35em 0;
	overflow-x: auto;
}

.single-post__body table {
	width: 100%;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	font-family: var(--lp-font-sans);
	font-size: 0.9375rem;
	line-height: 1.45;
	--lp-table-cell-border: var(--colors-common-zinc-300, #d4d4d8);
	table-layout: fixed;
}

.single-post__body table thead th {
	border-top: 1px solid var(--lp-table-cell-border);
	border-left: 1px solid var(--lp-table-cell-border);
	border-bottom: 0;
	border-right:0;
	background: rgba(0, 229, 175, 0.05);
	color: var(--SC, #00e5af);
	text-align: left;
	font-weight: 700;
	font-style: normal;
	padding: 0.75rem 1rem;
	vertical-align: middle;
}

.single-post__body table tbody td {
	border-top: 1px solid var(--lp-table-cell-border);
	border-left: 1px solid var(--lp-table-cell-border);
	border-bottom: 0;
	border-right:0;	
	background: rgba(255, 255, 255, 0);
	color: var(--lp-color-white-90);
	text-align: left;
	font-weight: 400;
	padding: 0.75rem 1rem;
	vertical-align: middle;
}

.single-post__body table thead th:last-child,
.single-post__body table tbody td:last-child {
	border-right: 1px solid var(--lp-table-cell-border);
}

.single-post__body table tbody tr:last-child td {
	border-bottom: 1px solid var(--lp-table-cell-border);
}

.single-post__body table thead tr:first-child th:first-child {
	border-top-left-radius: 12px;
}

.single-post__body table thead tr:first-child th:last-child {
	border-top-right-radius: 12px;
}

.single-post__body table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}

.single-post__body table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}

/* Tables with only tbody (no thead) — round top corners on first data row */
.single-post__body table:not(:has(thead)) tbody tr:first-child td:first-child {
	border-top-left-radius: 12px;
}

.single-post__body table:not(:has(thead)) tbody tr:first-child td:last-child {
	border-top-right-radius: 12px;
}

.wp-block-separator{
	margin: 30px auto;
}
#ez-toc-container {
	padding: 20px 40px;
    width: 100%;
	border-radius: 30px;
}

.share-post-stripe__row--social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-bottom: clamp(1rem, 2.5vw, 1.35rem);
	border-bottom: 1px solid var(--share-stripe-border);
	margin-bottom: 0;
}
.share-post-stripe__lead {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
}
.share-post-stripe__share-title {
	font-family: var(--lp-font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	font-style: normal;
	color: var(--lp-color-white-65);
	letter-spacing: 0.02em;
}
.share-post-stripe__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 1.35rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.share-post-stripe__soc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	color: var(--lp-color-white);
	cursor: pointer;
	text-decoration: none;
	line-height: 0;
	transition: opacity 0.2s ease, transform 0.15s ease;
}
.share-post-stripe__soc:hover,
.share-post-stripe__soc:focus-visible {
	opacity: 0.8;
	outline: none;
}
nav.share-post-stripe__row.share-post-stripe__row--nav {
    display: flex;
    justify-content: space-between;
}
a.share-post-stripe__nav-card {
    display: flex;
    gap: 10px;
}
span.share-post-stripe__nav-copy {
    display: flex;
    flex-direction: column;
}
.share-post-stripe__nav-col--next span.share-post-stripe__nav-copy {
    align-items: end;
}
.share-post-stripe__row.share-post-stripe__row--nav{
	border-block: 1px solid #D4D4D8;
    padding-block: 20px;
}

/* Author + search + related (featured cards) below share stripe */
.single-post-after {
	padding-bottom: clamp(2rem, 5vw, 3rem);
}
.single-post-after .featured-post-cards .featured-post-cards__inner.container {
	margin-top:0;
}

/* Author card — dark rounded panel, avatar + name + ACF summary */
.single-post-author {
	margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}

.single-post-author__card {
	padding: clamp(1.75rem, 4.5vw, 3.125rem);
	border-radius: 40px;
	background-color: #232323;
	box-shadow: 0 8px 32px var(--lp-color-shadow-16);
}

.single-post-author__layout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}
.single-post-author__avatar {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--lp-color-zinc-600-border, #52525b);
	box-sizing: border-box;
	background-color: var(--lp-color-zinc-800);
	margin:0 auto;
}


.single-post-author__avatar-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.single-post-author__main {
	flex: 1;
	min-width: 0;
	width: 100%;
	text-align: center;
}

.single-post-author__name {
	margin: 0 0 1rem;
	font-family: var(--lp-font-sans);
	font-size: clamp(1.125rem, 2.2vw, 1.375rem);
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lp-color-white);
}

.single-post-author__summary {
	font-family: var(--lp-font-sans);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--lp-color-white-90);
}

.single-post-author__summary p {
	margin: 0 0 0.85em;
}

.single-post-author__summary p:last-child {
	margin-bottom: 0;
}

.single-post-author__summary a {
	color: var(--lp-color-pink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.single-post-author__summary a:hover {
	color: var(--lp-color-pink-hover);
}

.single-post-after .lp-search-bar {
	margin-top: clamp(1.25rem, 3vw, 1.75rem);
	margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.single-post-after .featured-post-cards {
	margin-top: 0;
}

@media (min-width: 640px) {
	.single-post-author__layout {
		flex-direction: row;
		align-items: flex-start;
		gap: clamp(1.75rem, 3.5vw, 2.5rem);
	}
	.single-post-author__avatar {
		width: 140px;
		height: 140px;
	}

	.single-post-author__main { 
		text-align: left;
	}
}
