/* Search Popup */
.cp-global-search-container {
	position: relative;
	display: inline-block;
}
.cp-search-trigger {
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	font-size: 20px;
}
.cp-search-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cp-search-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	backdrop-filter: blur(5px);
}
.cp-search-popup-close {
	position: absolute;
	top: 30px;
	right: 30px;
	background: none;
	border: none;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
	z-index: 3;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}
.cp-search-popup-close:hover {
	opacity: 0.8;
	transform: scale(1.1);
}
.cp-search-popup-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 800px;
	padding: 20px;
}
.cp-search-form {
	display: flex;
	width: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}
.cp-search-field {
	flex-grow: 1;
	border: none;
	padding: 20px;
	font-size: 24px;
	outline: none;
}
.cp-search-submit {
	background: var(--e-global-color-primary, #016087);
	color: #fff;
	border: none;
	padding: 0 30px;
	cursor: pointer;
	font-size: 24px;
}
.page-title{
	font-family: 'Roboto' !important;
}

/* Results Grid */
.cp-search-results-wrapper {
	width: 100%;
}
.cp-search-results-count {
	margin-bottom: 20px;
	font-weight: bold;
	color: #666;
	font-family: 'Roboto' !important;
}
.cp-search-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Overridden by Elementor */
	gap: 30px; /* Overridden by Elementor */
}
.cp-search-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow: hidden;
	height: 100%; /* For equal height */
}
.cp-search-card-img {
	width: 100%;
}
.cp-search-card-img img {
	width: 100%;
	display: block;
}
.cp-search-card-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}
.cp-search-card-title {
	margin: 0 0 10px 0;
}
.cp-search-card-title a {
	text-decoration: none;
	/* color: inherit; */
	color: #1D5A7A;
	font-family: 'Roboto' !important;
}
.cp-search-card-excerpt {
	margin-bottom: 20px;
	font-family: 'Roboto' !important;
	flex-grow: 1; /* Pushes button to bottom */
}
.cp-search-card-btn-wrap {
	font-family: 'Roboto' !important;
	margin-top: auto;
}
.cp-search-card-btn {
    background-color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 26px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    fill: #1D5A7A;
    color: #1D5A7A;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #1D5A7A;
    border-radius: 20px 20px 20px 20px;
    padding: 03px 40px 03px 40px;
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
}
.cp-search-card-btn:hover {
	background-color: #3E4852;
	color: #FFFFFF;
}
.cp-search-card-btn:hover .elementor-button-text {
	text-shadow: cyan 0px 0px 8px;
}

/* Pagination */
.cp-search-pagination {
	font-family: 'Roboto' !important;
	margin-top: 40px;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.cp-search-pagination a,
.cp-search-pagination span {
    background-color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 26px;
    fill: #6E196E;
    color: #6E196E;
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.25);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #6E196E;
    border-radius: 20px 20px 20px 20px;
    padding: 03px 20px 3px 20px;
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
}
.cp-search-pagination a:hover,
.cp-search-pagination a:focus {
    background-color: #6E196E;
    color: #FFFFFF;
}
.cp-search-pagination .current {
	background: #6E196E !important;
	color: #fff !important;
	border-color: #6E196E !important;
}
