/**
 * Search & Explore Block Styles
 * Styles for the Search & Explore custom block
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Main Container */
.search-explore-block {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.search-explore-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	min-height: 500px;
	max-width: 1320px;
	padding: 55px 0px;
	margin: 0 auto;
	width: 97%;
}

/* Left Panel */
.search-explore-left-panel {
	position: relative;
	width: 100%;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 25px;
}

.search-explore-background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.search-explore-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	border-radius: 25px;
}

.search-explore-content-box {
	position: relative;
	z-index: 3;
	max-width: 90%;
	width: 100%;
	margin: 2rem;
	border-radius: 20px;
	background: var(--CREAM, #FFF7E4);
	text-align: center;
	max-width:420px;
	display: inline-flex;
	padding: 45px 19.842px 45px 20px;
	justify-content: center;
	align-items: center;
	flex-direction:column;
}

.search-explore-main-title {
	margin: 0 0 25px;
	color: var(--CORNFLOWER, #5B66C6);
	text-align: center;

/* H2 */
	font-family: "Google Sans Flex";
	font-size: 32px;
	font-style: normal;
	font-weight: 900;
	line-height: 105%; /* 33.6px */
	text-transform: uppercase;
	letter-spacing: -0.13rem;
}

.search-explore-copy-text {
	color: var(--CORNFLOWER, #5B66C6);
	text-align: center;

/* Body */
	font-family: "Google Sans Flex";
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%; /* 23.8px */
	letter-spacing: -0.03rem;
	padding: 0px 37px;
	margin: 0 0 25px;
}

.search-explore-highlight-text {
	background: var(--BLUE, #A2BEFF);
	border: 3px solid var(--SMOKED, #6D240B);
	width: 167px;
	height: 54px;
	transform: rotate(22deg);
	color: var(--SMOKED, #6D240B);
	text-align: center;
	font-family: "Young Serif";
	font-size: 23px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%; /* 23px */
	letter-spacing: -0.92px;
	border-radius: 50%;
	padding: 12px 0;
	position: absolute;
	top: -52px;
	right: -57px;
}

/* Search Form */
.search-explore-form {
	width:100%;
}

.search-explore-input-wrapper {
	position: relative;
	flex: 1;
	min-width: 200px;
}

.search-explore-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 20px;
	pointer-events: none;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #718096;
}

.search-explore-icon svg {
	width: 100%;
	height: 100%;
}

.search-explore-input {
	width: 100%;
	background-color: transparent;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	border-radius: 15px;
	border: 1.5px solid var(--CORNFLOWER, #5B66C6);
	display: flex;
	padding: 10px 0px 10px 38px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: rgba(91, 102, 198, 0.70);
	text-align: left;
	font-family: "Google Sans Flex";
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%; /* 19.6px */
	letter-spacing: 0;
}

.search-explore-input:focus {
	outline:none;
}

.search-explore-input::placeholder {
	color: rgba(91, 102, 198, 0.70);
text-align: center;
font-family: "Google Sans Flex";
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 19.6px */
letter-spacing:-0.01rem;
		text-align:left;
}

.search-explore-button {
	padding: 0.875rem 1.5rem;
	background-color: transparent;
	border: 2px solid #1a365d;
	border-radius: 25px;
	color: #ffffff;
	background-color: #1a365d;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	text-transform: lowercase;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
	white-space: nowrap;
}

.search-explore-button:hover {
	background-color: #2c5282;
	border-color: #2c5282;
	transform: translateY(-1px);
}

.search-explore-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.3);
}

.search-explore-button:active {
	transform: translateY(0);
}

/* Right Panel */
.search-explore-right-panel {
	background-color: #A2BEFF;
	min-height: 500px;
	padding: 50px 0 47px 0;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	border-radius: 22px;
	display: flex;
	justify-content: center;
}

.search-explore-category-title {
	margin: 0 0 40px 0;
	color: var(--SMOKED, #6D240B);
	text-align: center;
/* H5 */
	font-family: "Google Sans Flex";
	font-size: 15px;
	font-style: normal;
	font-weight: 800;
	line-height: 140%; /* 21px */
	letter-spacing: 2px;
	text-transform: uppercase;
}

.search-explore-categories {
	margin: 0 0 40px 0;
	flex: 1;
}

.search-explore-categories-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.search-explore-categories-list li {
	margin: 0;
}

.search-explore-category-link {
	text-decoration: none;
	letter-spacing: -0.1rem;
	display: block;
	position: relative;
	transition: color 0.3s ease, transform 0.2s ease;
	color: var(--SMOKED, #6D240B);
	
/* H1 */
	font-family: "Google Sans Flex";
	font-size: 65px;
	font-style: normal;
	font-weight: 900;
	line-height: 105%; /* 68.25px */
	text-transform: uppercase;
	text-align: center;
}

.search-explore-category-link-text {
	position: relative;
	z-index: 2;
	display: inline-block;
}

.search-explore-category-link-hover-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	width: 239px;
	height: 87px;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
	pointer-events: none;
}

.search-explore-category-link:hover .search-explore-category-link-hover-bg {
	opacity: 1;
}


.search-explore-cta-button {
	background-color: transparent;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
	align-self: center;
	display: flex;
	height: 36px;
	padding: 10px 20px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: var(--SMOKED, #6D240B);
	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;
	border-radius: 50px;
	border: 1.5px solid var(--SMOKED, #6D240B);
}

.search-explore-cta-button:hover {
	background-color: #5B66C6;
	color: #ffffff;
	border:1.5px solid white;
}

.search-explore-cta-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.3);
}

.search-explore-cta-button:active {
	transform: translateY(0);
}

/* 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;
}

/* Responsive Design */
@media (max-width: 768px) {
	 .search-explore-container {
		flex-direction: column-reverse;
	    display: flex;
	    padding: 0;
	 }
}

@media (max-width: 500px) {
	.search-explore-container {
		width: 95%;
	}
	.search-explore-category-title {
		font-size:13px;
		margin-bottom: 30px;
	}
	.search-explore-category-link {
	font-size:42px;
	}
	.search-explore-category-link-hover-bg {
		width: 180px;
			height: 50px;
	}
	.search-explore-highlight-text {
	width: 116px;
	height: 40px;
	top: -29px;
	right: -26px;
	padding: 7px;
	font-size: 16px;
	}
			    .search-explore-main-title {
			    	font-size: 26px;
			    	margin: 0 auto 14px;
							max-width: 260px;
			    }
	.search-explore-copy-text {
	font-size:16px;
	}
	.search-explore-content-box {
		max-width: 90%;
			padding: 35px 20px 30px;
	}
	.search-explore-copy-text {
		font-size: 16px;
		padding: 0;
		margin: 0 auto 15px;
	}
		.search-explore-left-panel {
			min-height:430px;
		}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.search-explore-content-box {
		border: 2px solid #1a365d;
	}
	
	.search-explore-input {
		border-width: 3px;
	}
	
	.search-explore-button,
	.search-explore-cta-button {
		border-width: 3px;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.search-explore-input,
	.search-explore-button,
	.search-explore-cta-button,
	.search-explore-category-link {
		transition: none;
	}
	
	.search-explore-button:hover,
	.search-explore-cta-button:hover {
		transform: none;
	}
	
	.search-explore-category-link:hover {
		transform: none;
	}
}

