/**
 * Single Post Highlight Block Styles
 * Styles for the Single Post Highlight custom block
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Main Container */
.single-post-highlight-block {
	width: 100%;
	margin: 0 auto 55px;
}

.single-post-highlight-container {
	display: flex;
	gap: 0;
	align-items: stretch;
	min-height: 480px;
	padding: 61px 0;
	max-width: 1320px;
	margin: 0 auto;
	justify-content: space-between;
	width: 97%;
}

/* Left Side: Content (2/3 width) */
.single-post-highlight-left {
	flex: 0 0 32%;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	/* Background and text colors inherited from WP core block settings */
	text-align: center;
}

.single-post-highlight-content {
	width: 100%;
	max-width: 700px;
}

/* Category/Trending Badge */
.single-post-highlight-category {
	
	/* Text color inherited from WP core */
	color: var(--CREAM, #FFF7E4);
	text-align: center;

/* H5 */
	font-family: "Google Sans Flex";
	font-size: 15px;
	font-style: normal;
	font-weight: 800;
	line-height: 140%; /* 21px */
	letter-spacing: 3px;
	text-transform: uppercase;
	margin: 0 0 30px;
}

/* Post Title */
.single-post-highlight-title {
	margin: 0 0 30px;
	/* Text color inherited from WP core */
	color: var(--CREAM, #FFF7E4);
	text-align: center;

/* H3 */
	font-family: "Perfectly Nineties";
	font-size: 36px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
	letter-spacing: 0.72px;
	text-transform: capitalize;
}

/* Post Excerpt */
.single-post-highlight-excerpt {
	font-family: var(--wp--preset--font-family--young-serif, "Young Serif", serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 160%;
	letter-spacing: 0;
	margin: 0 0 2rem;
	/* Text color inherited from WP core */
}

.single-post-highlight-excerpt p {
	margin: 0 0 20px;
	color: var(--CREAM, #FFF7E4);
	text-align: center;

/* Body */
	font-family: "Google Sans Flex";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%; /* 23.8px */
	letter-spacing: 0.34px;
	padding: 0 20px;
}

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

/* Button Wrapper */
.single-post-highlight-button-wrapper {
	margin-top: 2rem;
}

.single-post-highlight-button {
	background-color: transparent;
	border: 2px solid currentColor;
	border-radius: 50px;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
	width: fit-content;
	margin: 0 auto;
	text-align: center;
	font-family: "Google Sans Flex";
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
	line-height: 130%; /* 15.6px */
	letter-spacing: 2.4px;
	text-transform: uppercase;
	display: flex;
	height: 36px;
	padding: 10px 20px;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.single-post-highlight-button:hover,
.single-post-highlight-button:focus {
	background-color:#FFC856;
	border:1.5px solid #6d240b;
	color:#6d240b;
}

.single-post-highlight-button:active {
	transform: translateY(0);
}

/* Right Side: Featured Image (1/3 width) */
.single-post-highlight-right {
	flex: 0 0 62%;
	min-width: 0;
	position: relative;
}

.single-post-highlight-image-wrapper {
	position: relative;
	width: 100%;
	height: 533px;
}

.single-post-highlight-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 25px;
}

/* Highlight Badge (Semi-circular, top-left) */
.single-post-highlight-badge {
    top: 9px;
    left: -146px;
    text-transform: lowercase;
    text-overflow: ellipsis;
    content: '';
    position: absolute;
    width: 202px;
    border-radius: 280px 280px 0 0;
    background-color: #FFC856;
    z-index: 1;
    opacity: 1;
    height: 100px;
    transform: rotate(-12deg);
    color: var(--SMOKED, #6D240B);
    text-align: center;
    font-family: "Young Serif";
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.92px;
    padding: 40px 39px 0;
}

/* Responsive Design */
@media (max-width: 1080px) {
	.single-post-highlight-container {
		flex-direction:column-reverse;
	}
	.single-post-highlight-left {
		flex: 0 0 100%;
		padding:30px 0 0;
	}
	.single-post-highlight-badge {
		left:0;
		bottom:0;
		top:inherit;
	}
}

@media (max-width: 768px) {
.single-post-highlight-category {
		margin: 0 0 10px;
	}
	.single-post-highlight-title {
		margin:0 0 15px;
		
	}
	.single-post-highlight-block {
margin-bottom:15px;}
}

@media (max-width: 500px) {
	.single-post-highlight-container {
		width: 93%;
		padding: 30px 0;
	}
.single-post-highlight-image-wrapper {
		position: relative;
		width: 100%;
		height: 233px;
	}
	.single-post-highlight-title {
		margin: 0 0 15px;
		font-size: 32px;
		font-style: normal;
		font-weight: 300;
		line-height: 110%;
		letter-spacing: 0.64px;
	}
			    .single-post-highlight-badge {
			    	left: 0;
			    	bottom: 0;
			    	top: inherit;
			    	width: 140px;
			    	height: 70px;
			    	font-size: 19px;
			    	padding: 23px 13px;
			    	left: 22px;
			    	top: 182px;
			    }
								.single-post-highlight-category {
									font-size:13px;
								}
}

/* Accessibility: Focus States */
.single-post-highlight-button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* Screen Reader Text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}









