/**
 * Single Featured Post Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

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

/* Single Featured Post Container */
.single-featured-post {
	position: relative;
	width: 100%;
	height: 602px;
	max-width: 1400px;
	padding: 0px 60px;
	margin: 0 auto;
	overflow: hidden;
	background: white;
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.3s ease;
}

.single-featured-post:hover {
	opacity: 0.95;
}

.single-featured-post:focus {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

/* Background Wrapper */
.single-featured-post-background-wrapper {
	width: 100%;
	height: 100%;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	position: absolute;
	top: 0;
	padding: 0 60px;
	left: 0;
}

/* Background Image */
.single-featured-post-background-image {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.single-featured-post-background-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(80%);
	border-radius: 15px;
}

/* Content Container */
.single-featured-post-content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: 0 40px 40px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	height: 100%;
}

.single-featured-post-content-inner {
	max-width: 1200px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 27px;
}

/* Title */
.single-featured-post-title {
	font-size: 54px;
	line-height: 60px;
	font-weight: 100;
	margin: 0;
	color: #ffffff;
	max-width: 740px;
	letter-spacing: 0.02rem;
}

/* Button */
.single-featured-post-button {
	align-self: flex-start;
	max-width: fit-content;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 31px;
	background-color: #013D36;
	color: #ffffff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color 0.3s ease;
	font-size: 14px;
	font-weight: 100;
	letter-spacing: 0.1rem;
	height: 57px;
	pointer-events: none;
}

.single-featured-post:hover .single-featured-post-button {
	background-color: #6B7861;
}

@media (max-width:1080px) {
	.single-featured-post-background-wrapper {
		padding: 0 10px;
	}
	.single-featured-post-content {
		padding:0 0 40px;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.single-featured-post {
		min-height: 400px;
		padding: 0 30px;
		height: 400px;
	}

	.single-featured-post-content {
		padding: 0 0 30px;
	}

	.single-featured-post-title {
		font-size: 41px;
		line-height: 48px;
	}

	.single-featured-post-button {
		max-width: 100%;
		text-align: center;
	}
}

@media (max-width: 500px) {
	    .single-featured-post-background-wrapper {
        padding: 0 20px;
    }
	.single-featured-post {
		min-height: 350px;
	}

	.single-featured-post-content {
		padding: 0 0px 30px;
	}

	.single-featured-post-title {
		font-size: 34px;
		line-height: 1;
		margin: 0;
	}
	.single-featured-post-content-inner {
		gap:10px;
		width: 95%;
		margin: 0 auto;
	}
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
	.single-featured-post,
	.single-featured-post-button {
		transition: none;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.single-featured-post-title {
		text-shadow: none;
		color: #000000;
		background-color: rgba(255, 255, 255, 0.9);
		padding: 0.5rem;
		border-radius: 4px;
	}


	.single-featured-post-button {
		border: 2px solid #000000;
		background-color: #0d9488;
		color: #ffffff;
	}
}

/* Print Styles */
@media print {
	.single-featured-post-background-image {
		display: none;
	}

	.single-featured-post {
		background-color: #f5f5f5;
		min-height: auto;
		border: 1px solid #000000;
	}

	.single-featured-post-title {
		color: #000000;
		text-shadow: none;
	}

	.single-featured-post-button {
		background-color: #000000;
		color: #ffffff;
		border: 1px solid #000000;
		text-decoration: underline;
	}
}

