/**
 * Custom frontend – header and footer match design (logo, nav, Sign in, Add listing; 4-col footer + bottom bar).
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.custom-frontend {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #1f2937;
	background: #fff;
}

body.custom-frontend .custom-frontend-main {
	flex: 1 0 auto;
	min-height: 40vh;
}

/* ----- Header (logo + nav + Sign in + Add listing) ----- */
body.custom-frontend .cf-header {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	padding: 1rem 1.5rem;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.custom-frontend .cf-header ~ .custom-frontend-main,
body.custom-frontend .cf-header ~ main {
	padding-top: 72px;
}

body.custom-frontend .cf-header-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 1.25rem;
}

body.custom-frontend .cf-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #111827;
	font-weight: 700;
	font-size: 1.3rem;
}

body.custom-frontend .cf-logo:hover {
	color: #3993d5;
}

body.custom-frontend .cf-logo-img {
	height: 48px;
	width: auto;
	display: block;
	border-radius: 8px;
}

body.custom-frontend .cf-logo-icon {
	display: inline-flex;
	flex-shrink: 0;
}

body.custom-frontend .cf-logo-icon svg {
	display: block;
}

/* Mobile nav toggle (hamburger) */
body.custom-frontend .cf-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 36px;
	height: 32px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	padding: 0;
	margin-left: auto;
	cursor: pointer;
}
body.custom-frontend .cf-nav-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: #0f172a;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
body.custom-frontend .cf-nav-toggle-bar + .cf-nav-toggle-bar {
	margin-top: 4px;
}

body.custom-frontend .cf-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1 1 auto;
	margin-left: 2.25rem;
	gap: 1.25rem;
}

body.custom-frontend .cf-nav-links {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	flex-wrap: wrap;
	flex: 1;
	justify-content: center;
}

body.custom-frontend .cf-nav a {
	color: #374151;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
}
body.custom-frontend .cf-nav-links a {
	padding: 0.1rem 0;
}

body.custom-frontend .cf-nav a:hover {
	color: #3993d5;
}

/* Set Location trigger in nav (opens location modal) */
body.custom-frontend .cf-set-location-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	transition: color 0.2s ease;
}
body.custom-frontend .cf-set-location-trigger:hover {
	color: #3993d5;
	background: transparent;
}
body.custom-frontend .cf-set-location-icon {
	display: inline-flex;
	flex-shrink: 0;
}
body.custom-frontend .cf-set-location-text {
	white-space: nowrap;
}
body.custom-frontend .cf-set-location-divider {
	display: none;
}

@media (max-width: 1024px) {
	body.custom-frontend .cf-header {
		padding: 0.75rem 1rem;
	}
	body.custom-frontend .cf-header-inner {
		align-items: flex-start;
		gap: 0.5rem 0.75rem;
		flex-wrap: wrap;
	}
	body.custom-frontend .cf-logo-img {
		height: 38px;
	}
	body.custom-frontend .cf-nav-toggle {
		display: inline-flex;
	}
	body.custom-frontend .cf-nav {
		width: 100%;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
		margin-top: 0.35rem;
		margin-left: 0;
	}
	body.custom-frontend .cf-nav-links {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}
	body.custom-frontend .cf-nav a,
	body.custom-frontend .cf-set-location-trigger {
		display: inline-flex;
		width: 100%;
		justify-content: flex-start;
		padding: 0.35rem 0;
	}
	body.custom-frontend .cf-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.45rem;
		margin-top: 0.4rem;
		padding-top: 0.6rem;
		border-top: 1px solid #e5e7eb;
		margin-left: 0;
	}
	body.custom-frontend .cf-header.cf-header--nav-open .cf-nav {
		display: flex;
	}
	body.custom-frontend .cf-actions .cf-btn-add,
	body.custom-frontend .cf-actions .cf-link-sign {
		width: 100%;
		justify-content: center;
	}
	body.custom-frontend .cf-profile-dropdown {
		width: 100%;
	}
	body.custom-frontend .cf-profile-dropdown-trigger {
		width: 100%;
		border-radius: 10px;
		justify-content: flex-start;
		padding-left: 1rem;
	}
	body.custom-frontend .cf-profile-dropdown-menu {
		position: static;
		margin-top: 0.35rem;
		transform: none;
		box-shadow: none;
		border: 1px solid #e5e7eb;
		border-radius: 10px;
		overflow: hidden;
		max-height: 0;
		padding: 0;
		margin-bottom: 0;
		opacity: 0;
		visibility: hidden;
		transition: max-height 0.25s ease, padding 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
	}
	body.custom-frontend .cf-profile-dropdown.is-open .cf-profile-dropdown-menu {
		max-height: 200px;
		padding: 0.35rem 0;
		opacity: 1;
		visibility: visible;
	}
}

/* Change Location modal */
body.custom-frontend .cf-location-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
body.custom-frontend .cf-location-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
body.custom-frontend .cf-location-modal {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	max-width: 440px;
	width: calc(100% - 2rem);
	padding: 1.75rem 1.5rem;
	position: relative;
}
body.custom-frontend .cf-location-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}
body.custom-frontend .cf-location-modal-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 600;
	color: #374151;
}
body.custom-frontend .cf-location-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	padding: 0.25rem;
	transition: color 0.2s ease;
}
body.custom-frontend .cf-location-modal-close:hover {
	color: #111;
}
body.custom-frontend .cf-location-modal-subtitle {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	color: #6b7280;
}
body.custom-frontend .cf-location-modal-search {
	margin-top: 0.25rem;
}
body.custom-frontend .cf-location-modal-search .geodir-search,
body.custom-frontend .cf-location-modal-search .bsui {
	max-width: 100%;
}
body.custom-frontend .cf-location-modal-search input[type="text"],
body.custom-frontend .cf-location-modal-search .form-control {
	background: #fff;
	border-color: #e2e8f0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
body.custom-frontend .cf-location-modal-search input[type="text"]:focus,
body.custom-frontend .cf-location-modal-search .form-control:focus {
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.2);
}

body.custom-frontend .cf-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

body.custom-frontend .cf-profile-desktop {
	display: block;
}

body.custom-frontend .cf-profile-mobile {
	display: none;
}

body.custom-frontend .cf-link-sign {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #374151;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

body.custom-frontend .cf-link-sign:hover {
	color: #3993d5;
	text-decoration: none;
}

body.custom-frontend .cf-icon-user {
	display: inline-flex;
	color: #6b7280;
}

/* Auth Modal Styling */
body.custom-frontend .cf-auth-modal-dialog {
	max-width: 440px;
}
body.custom-frontend .cf-auth-modal-content {
	border-radius: 16px;
	border: none;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}
body.custom-frontend .cf-auth-modal-header {
	border-bottom: 1px solid #e5e7eb;
	padding: 1.5rem 1.5rem 0;
	display: flex;
	flex-direction: column;
	position: relative;
}
body.custom-frontend .cf-auth-modal-title {
	margin: 0 0 1rem 0;
	font-size: 1.35rem;
	font-weight: 600;
	color: #374151;
	padding-right: 2.5rem;
}
body.custom-frontend .cf-auth-modal-tabs {
	display: flex;
	width: 100%;
	border-bottom: 2px solid #e5e7eb;
	margin-top: 0;
}
body.custom-frontend .cf-auth-tab-btn {
	flex: 1;
	padding: 1rem 1.5rem;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 1rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-bottom: -2px;
	position: relative;
}
body.custom-frontend .cf-auth-tab-btn:hover {
	color: #3993d5;
	background: rgba(57, 147, 213, 0.05);
}
body.custom-frontend .cf-auth-tab-btn.active {
	color: #3993d5;
	border-bottom-color: #3993d5;
	font-weight: 600;
}
body.custom-frontend .cf-auth-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: #6b7280;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: all 0.2s ease;
	z-index: 10;
}
body.custom-frontend .cf-auth-modal-close:hover {
	color: #111827;
	background: rgba(0, 0, 0, 0.05);
}
body.custom-frontend .cf-auth-modal-close svg {
	display: block;
}
body.custom-frontend .cf-auth-modal-body {
	padding: 2rem 1.5rem;
}
/* Ensure Bootstrap tab panes work correctly */
body.custom-frontend .cf-auth-modal-body .tab-content {
	position: relative;
}
body.custom-frontend .cf-auth-modal-body .tab-pane {
	display: none;
}
body.custom-frontend .cf-auth-modal-body .tab-pane.show,
body.custom-frontend .cf-auth-modal-body .tab-pane.active {
	display: block;
}
body.custom-frontend .cf-auth-modal-body .form-group,
body.custom-frontend .cf-auth-modal-body .mb-3 {
	margin-bottom: 1.25rem;
}
body.custom-frontend .cf-auth-modal-body label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
}
body.custom-frontend .cf-auth-modal-body input[type="text"],
body.custom-frontend .cf-auth-modal-body input[type="email"],
body.custom-frontend .cf-auth-modal-body input[type="password"],
body.custom-frontend .cf-auth-modal-body input[type="url"],
body.custom-frontend .cf-auth-modal-body .form-control {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #1f2937;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.custom-frontend .cf-auth-modal-body input[type="text"]:focus,
body.custom-frontend .cf-auth-modal-body input[type="email"]:focus,
body.custom-frontend .cf-auth-modal-body input[type="password"]:focus,
body.custom-frontend .cf-auth-modal-body input[type="url"]:focus,
body.custom-frontend .cf-auth-modal-body .form-control:focus {
	outline: none;
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.2);
}
body.custom-frontend .cf-auth-modal-body .btn-primary,
body.custom-frontend .cf-auth-modal-body input[type="submit"],
body.custom-frontend .cf-auth-modal-body button[type="submit"] {
	width: 100%;
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #3993d5;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	margin-top: 0.5rem;
}
body.custom-frontend .cf-auth-modal-body .btn-primary:hover,
body.custom-frontend .cf-auth-modal-body input[type="submit"]:hover,
body.custom-frontend .cf-auth-modal-body button[type="submit"]:hover {
	background: #2d7bb8;
}
body.custom-frontend .cf-auth-modal-body .form-check,
body.custom-frontend .cf-auth-modal-body .custom-control {
	margin-top: 0.75rem;
	margin-bottom: 1rem;
}
body.custom-frontend .cf-auth-modal-body .form-check-label,
body.custom-frontend .cf-auth-modal-body .custom-control-label {
	font-weight: 400;
	font-size: 0.9375rem;
	color: #374151;
	cursor: pointer;
}
body.custom-frontend .cf-auth-modal-body a {
	color: #3993d5;
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.2s ease;
}
body.custom-frontend .cf-auth-modal-body a:hover {
	color: #2d7bb8;
	text-decoration: underline;
}
body.custom-frontend .cf-auth-message {
	padding: 1rem;
	background: #f3f4f6;
	border-radius: 8px;
	color: #6b7280;
}
body.custom-frontend .cf-auth-message p {
	margin: 0;
	font-size: 0.9375rem;
}
/* UsersWP form styling within modal */
body.custom-frontend .cf-auth-modal-body .uwp-form,
body.custom-frontend .cf-auth-modal-body .uwp-login-form,
body.custom-frontend .cf-auth-modal-body .uwp-register-form {
	margin: 0;
}
body.custom-frontend .cf-auth-modal-body .uwp-form input[type="text"],
body.custom-frontend .cf-auth-modal-body .uwp-form input[type="email"],
body.custom-frontend .cf-auth-modal-body .uwp-form input[type="password"],
body.custom-frontend .cf-auth-modal-body .uwp-form input[type="url"],
body.custom-frontend .cf-auth-modal-body .uwp-form select,
body.custom-frontend .cf-auth-modal-body .uwp-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #1f2937;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.custom-frontend .cf-auth-modal-body .uwp-form input:focus,
body.custom-frontend .cf-auth-modal-body .uwp-form select:focus,
body.custom-frontend .cf-auth-modal-body .uwp-form textarea:focus {
	outline: none;
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.2);
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-form-group {
	margin-bottom: 1.25rem;
}
body.custom-frontend .cf-auth-modal-body .uwp-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-remember-me,
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-forgot-password {
	margin-top: 0.75rem;
	margin-bottom: 1rem;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-forgot-password {
	text-align: right;
	margin-top: 0.5rem;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-submit {
	width: 100%;
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #3993d5;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	margin-top: 0.5rem;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-submit:hover {
	background: #2d7bb8;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-alert {
	padding: 0.875rem 1rem;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-alert-success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #6ee7b7;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-alert-danger,
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-alert-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}
body.custom-frontend .cf-auth-modal-body .uwp-form .uwp-alert-info {
	background: #dbeafe;
	color: #1e40af;
	border: 1px solid #93c5fd;
}

/* WordPress login form styling */
body.custom-frontend .cf-auth-modal-body #cf-login-form {
	margin: 0;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form p {
	margin-bottom: 1.25rem;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form input[type="text"],
body.custom-frontend .cf-auth-modal-body #cf-login-form input[type="password"] {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #1f2937;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form input:focus {
	outline: none;
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.2);
}
body.custom-frontend .cf-auth-modal-body #cf-login-form .forgetmenot {
	margin-top: 0.75rem;
	margin-bottom: 1rem;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form .forgetmenot label {
	font-weight: 400;
	font-size: 0.9375rem;
	color: #374151;
	cursor: pointer;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form #cf-login-submit {
	width: 100%;
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #3993d5;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	margin-top: 0.5rem;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form #cf-login-submit:hover {
	background: #2d7bb8;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form .login-lost-password {
	margin-top: 1rem;
	text-align: center;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form .login-lost-password a {
	color: #3993d5;
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.2s ease;
}
body.custom-frontend .cf-auth-modal-body #cf-login-form .login-lost-password a:hover {
	color: #2d7bb8;
	text-decoration: underline;
}

@media (max-width: 576px) {
	body.custom-frontend .cf-auth-modal-dialog {
		margin: 0.5rem;
		max-width: calc(100% - 1rem);
	}
	body.custom-frontend .cf-auth-modal-body {
		padding: 1.5rem 1rem;
	}
	body.custom-frontend .cf-auth-tab-btn {
		padding: 0.875rem 1rem;
		font-size: 0.9375rem;
	}
	body.custom-frontend .cf-auth-modal-close {
		top: 0.75rem;
		right: 0.75rem;
		padding: 0.375rem;
	}
}

/* Profile dropdown (icon → Profile, Sign out) */
body.custom-frontend .cf-profile-dropdown {
	position: relative;
}
body.custom-frontend .cf-profile-dropdown-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	color: #374151;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
body.custom-frontend .cf-profile-dropdown-trigger:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #3993d5;
}
body.custom-frontend .cf-profile-dropdown-icon {
	display: inline-flex;
}
body.custom-frontend .cf-profile-dropdown-menu {
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 0.35rem;
	min-width: 160px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 1001;
	padding: 0.35rem 0;
	list-style: none;
}
body.custom-frontend .cf-profile-dropdown.is-open .cf-profile-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
body.custom-frontend .cf-profile-dropdown-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
body.custom-frontend .cf-profile-dropdown-item:hover {
	background: #f1f5f9;
	color: #3993d5;
}
body.custom-frontend .cf-profile-dropdown-item-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #6b7280;
}
body.custom-frontend .cf-profile-dropdown-item:hover .cf-profile-dropdown-item-icon {
	color: #3993d5;
}

body.custom-frontend .cf-btn-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 1.5rem !important;
	background: #3498db;
	color: #fff !important;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	border-radius: 999px;
	transition: background 0.2s ease;
	min-height: 2.75rem;
	white-space: nowrap;
	border: none;
	box-sizing: border-box;
}

body.custom-frontend .cf-btn-add:hover {
	background: #2980b9;
	color: #fff !important;
}

body.custom-frontend .cf-icon-plus {
	display: inline-flex;
}
body.custom-frontend .cf-btn-add .cf-icon-plus svg {
	width: 18px;
	height: 18px;
}

/* ----- Footer (4 columns + bottom bar) ----- */
body.custom-frontend .cf-footer {
	flex-shrink: 0;
	background: #2f2547;
	color: #fff;
	margin: 0;
}

body.custom-frontend .cf-footer-top {
	padding: 2.5rem 1.5rem 2rem;
}

body.custom-frontend .cf-footer-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
	gap: 2rem;
}

@media (max-width: 992px) {
	body.custom-frontend .cf-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 576px) {
	body.custom-frontend .cf-footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

body.custom-frontend .cf-footer-brand .cf-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

body.custom-frontend .cf-footer-logo-img {
	height: 150px;
	width: auto;
	border-radius: 8px;
}

body.custom-frontend .cf-footer-logo-icon {
	display: inline-flex;
}

body.custom-frontend .cf-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

body.custom-frontend .cf-footer-contact-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #e5e7eb;
	text-decoration: none;
	font-size: 0.9rem;
}

body.custom-frontend .cf-footer-contact-item:hover {
	color: #fff;
}

body.custom-frontend .cf-footer-icon {
	flex-shrink: 0;
	vertical-align: middle;
}

body.custom-frontend .cf-footer-heading {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
}

/* Column heading that is itself a link (Categories column). */
body.custom-frontend .cf-footer-heading-link,
body.custom-frontend .cf-footer-heading-link:hover,
body.custom-frontend .cf-footer-heading-link:focus-visible {
	color: inherit;
	text-decoration: none;
}

body.custom-frontend .cf-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.custom-frontend .cf-footer-links li {
	margin-bottom: 0.4rem;
}

body.custom-frontend .cf-footer-links a {
	color: #e5e7eb;
	text-decoration: none;
	font-size: 0.9rem;
}

body.custom-frontend .cf-footer-links a:hover {
	color: #fff;
}

/* Recent post */
body.custom-frontend .cf-footer-post {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

body.custom-frontend .cf-footer-post-img {
	width: 72px;
	height: 72px;
	min-width: 72px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	display: block;
	text-decoration: none;
}

body.custom-frontend .cf-footer-post-body {
	flex: 1;
	min-width: 0;
}

body.custom-frontend .cf-footer-post-title {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

body.custom-frontend .cf-footer-post-title a {
	color: #fff;
	text-decoration: none;
}

body.custom-frontend .cf-footer-post-title a:hover {
	text-decoration: underline;
}

body.custom-frontend .cf-footer-post-excerpt {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	color: #d1d5db;
	line-height: 1.4;
}

body.custom-frontend .cf-footer-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: #9ca3af;
}

body.custom-frontend .cf-footer-post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

body.custom-frontend .cf-footer-no-posts {
	margin: 0;
	color: #9ca3af;
	font-size: 0.9rem;
}

/* Footer newsletter mini form */
body.custom-frontend .cf-footer-newsletter {
	margin-top: 1.5rem;
}
body.custom-frontend .cf-footer-newsletter-form {
	margin: 0;
}
body.custom-frontend .cf-footer-newsletter-fields {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
}
body.custom-frontend .cf-footer-newsletter-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(15, 23, 42, 0.6);
	color: #f9fafb;
	font-size: 0.9rem;
}
body.custom-frontend .cf-footer-newsletter-input::placeholder {
	color: #9ca3af;
}
body.custom-frontend .cf-footer-newsletter-input:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.5);
}
body.custom-frontend .cf-footer-newsletter-submit {
	flex: 0 0 auto;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	border: none;
	background: #38bdf8;
	color: #0f172a;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}
body.custom-frontend .cf-footer-newsletter-submit:hover {
	background: #0ea5e9;
	box-shadow: 0 4px 10px rgba(56, 189, 248, 0.5);
	transform: translateY(-1px);
}
@media (max-width: 576px) {
	body.custom-frontend .cf-footer-newsletter-fields {
		flex-direction: column;
	}
	body.custom-frontend .cf-footer-newsletter-submit {
		width: 100%;
		text-align: center;
	}
}

/* Bottom bar */
body.custom-frontend .cf-footer-bottom {
	background: #251f38;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1rem 1.5rem;
}

body.custom-frontend .cf-footer-bottom-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

body.custom-frontend .cf-footer-copy {
	color: #9ca3af;
	font-size: 0.875rem;
}

body.custom-frontend .cf-footer-bottom-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

body.custom-frontend .cf-footer-bottom-links a {
	color: #e5e7eb;
	text-decoration: none;
	font-size: 0.875rem;
}

body.custom-frontend .cf-footer-bottom-links a:hover {
	color: #fff;
}

body.custom-frontend .cf-footer-social {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: 0.5rem;
}

body.custom-frontend .cf-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background 0.2s ease;
}

body.custom-frontend .cf-footer-social a:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* ----- Main content ----- */
body.custom-frontend .custom-frontend-content {
	max-width: 1440px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
}

body.custom-frontend .custom-frontend-content h1,
body.custom-frontend .custom-frontend-content .entry-title {
	margin-top: 0;
	font-size: 1.75rem;
	color: #111827;
}

body.custom-frontend .custom-frontend-content .entry-content {
	line-height: 1.65;
}

body.custom-frontend .custom-frontend-content .entry-content a {
	color: #3993d5;
	text-decoration: none;
}

body.custom-frontend .custom-frontend-content .entry-content a:hover {
	text-decoration: underline;
}

/* Business Categories page: keep main content full width for hero/panels */
body.custom-frontend .standalone-bc-main .business-cats-hero,
body.custom-frontend .standalone-bc-main .business-cats-search-shell,
body.custom-frontend .standalone-bc-main .business-cats-section {
	max-width: none;
}

/* ----- Blog archive: minimalistic premium cards ----- */
body.custom-frontend .cf-blog-archive-inner {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 2rem 1.5rem 3rem;
}

body.custom-frontend .cf-blog-breadcrumb {
	font-size: 0.8125rem;
	color: #6b7280;
	margin-bottom: 1.25rem;
	letter-spacing: 0.02em;
}

body.custom-frontend .cf-blog-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.custom-frontend .cf-blog-breadcrumb a:hover {
	color: #111827;
}

body.custom-frontend .cf-blog-breadcrumb-sep {
	margin: 0 0.35rem;
}

body.custom-frontend .cf-blog-breadcrumb-current {
	color: #111827;
	font-weight: 500;
}

body.custom-frontend .cf-blog-title {
	margin: 0 0 2rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
	color: #111827;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* Author archive header */
body.custom-frontend .cf-author-header {
	margin: 0 0 2.25rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e5e7eb;
}
body.custom-frontend .cf-author-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #3993d5;
}
body.custom-frontend .cf-author-header .cf-author-name {
	margin: 0 0 0.5rem;
}
body.custom-frontend .cf-author-designation {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #64748b;
}
body.custom-frontend .cf-author-bio {
	margin: 0;
	max-width: 70ch;
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.65;
}

body.custom-frontend .cf-blog-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem 1.75rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
}

@media (max-width: 992px) {
	body.custom-frontend .cf-blog-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 576px) {
	body.custom-frontend .cf-blog-cards {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

body.custom-frontend .cf-blog-card {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

body.custom-frontend .cf-blog-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	border: 1px solid #f3f4f6;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.custom-frontend .cf-blog-card-link:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-color: #e5e7eb;
}

body.custom-frontend .cf-blog-card-image-wrap {
	aspect-ratio: 16 / 10;
	background: #f9fafb;
	overflow: hidden;
}

body.custom-frontend .cf-blog-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.custom-frontend .cf-blog-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

body.custom-frontend .cf-blog-card-body {
	padding: 1.25rem 1.25rem 1.5rem;
}

body.custom-frontend .cf-blog-card-author {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: #6b7280;
	font-weight: 500;
	letter-spacing: 0.02em;
}

body.custom-frontend .cf-blog-card-title {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
	letter-spacing: -0.01em;
}

body.custom-frontend .cf-blog-card-link:hover .cf-blog-card-title {
	color: #3993d5;
}

body.custom-frontend .cf-blog-card-excerpt {
	margin: 0;
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.5;
}

body.custom-frontend .cf-blog-empty {
	margin: 0;
	color: #6b7280;
}

body.custom-frontend .cf-blog-pagination-nav {
	margin-top: 0.5rem;
}

body.custom-frontend .cf-blog-pagination-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

body.custom-frontend .cf-blog-pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.custom-frontend .cf-blog-pagination-nav .page-numbers:hover {
	border-color: #3993d5;
	color: #3993d5;
	background: #f8fafc;
}

body.custom-frontend .cf-blog-pagination-nav .page-numbers.current {
	border-color: #3993d5;
	background: #3993d5;
	color: #fff;
}

body.custom-frontend .cf-blog-pagination-nav .page-numbers.dots {
	border: none;
	background: transparent;
	color: #9ca3af;
}

body.custom-frontend .cf-blog-pagination-nav .prev,
body.custom-frontend .cf-blog-pagination-nav .next {
	font-size: 0.8125rem;
}

/* ----- Single blog post – custom layout ----- */
body.custom-frontend .cf-blog-single-main {
	/* Remove grey page background behind single blog posts */
	background: #ffffff;
}

body.custom-frontend .cf-blog-single-breadcrumb {
	font-size: 0.8125rem;
	color: #6b7280;
	margin-bottom: 1.5rem;
	margin-top: 2.75rem;
	max-width: 890px;
	margin-left: auto;
	margin-right: auto;
	letter-spacing: 0.03em;
}

body.custom-frontend .cf-blog-single-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
}

body.custom-frontend .cf-blog-single-breadcrumb a:hover {
	color: #111827;
}

body.custom-frontend .cf-blog-single-breadcrumb-sep {
	margin: 0 0.35rem;
	opacity: 0.75;
}

body.custom-frontend .cf-blog-single-breadcrumb-current {
	color: #111827;
	font-weight: 500;
}

body.custom-frontend .cf-blog-single-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

body.custom-frontend .cf-blog-single-cat {
	padding: 0.18rem 0.9rem;
	border-radius: 999px;
	background: #dcfce7;
	border: 1px solid #bbf7d0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #166534;
}

body.custom-frontend .cf-blog-single-body {
	max-width: 900px;
	margin: 0 auto 4.5rem;
	padding: 0 1.5rem 0;
	box-sizing: border-box;
}

body.custom-frontend .cf-blog-single-shell {
	max-width: 900px;
	margin: 0 auto 4.5rem;
	padding: 0 0.5rem 0;
	box-sizing: border-box;
	border-radius: 0;
}

/* Hero section – tall title area */
body.custom-frontend .cf-blog-single-hero {
	display: flex;
	align-items: center;
}

body.custom-frontend .cf-blog-single-hero-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 1.5rem 0;
	box-sizing: border-box;
}

body.custom-frontend .cf-blog-single-cats--main {
	margin-bottom: 0.5rem;
}

body.custom-frontend .cf-blog-single-hero-title {
	margin: 0;
	font-size: clamp(2.4rem, 4vw, 3.2rem);
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.04em;
	line-height: 1.15;
}

body.custom-frontend .cf-blog-single-meta--top {
	margin-top: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	color: #64748b;
	font-size: 0.95rem;
}

body.custom-frontend .cf-blog-single-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

body.custom-frontend .cf-blog-single-meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	color: #94a3b8;
}

body.custom-frontend .cf-blog-single-excerpt {
	margin: 0;
	font-size: 1rem;
	color: #4b5563;
	line-height: 1.6;
	max-width: 34rem;
}

body.custom-frontend .cf-blog-single-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #111827;
}

/* Reuse existing typography rules for .cf-single-content */
body.custom-frontend .cf-blog-single-content p {
	margin: 0 0 1.1rem;
}

body.custom-frontend .cf-blog-single-content h2,
body.custom-frontend .cf-blog-single-content h3,
body.custom-frontend .cf-blog-single-content h4 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: #0f172a;
}

body.custom-frontend .cf-blog-single-content h2 { font-size: 1.6rem; }
body.custom-frontend .cf-blog-single-content h3 { font-size: 1.3rem; }
body.custom-frontend .cf-blog-single-content h4 { font-size: 1.1rem; }

body.custom-frontend .cf-blog-single-content ul,
body.custom-frontend .cf-blog-single-content ol {
	margin: 0 0 1.4rem 1.4rem;
	padding: 0;
}

body.custom-frontend .cf-blog-single-content li {
	margin: 0 0 0.4rem;
}

body.custom-frontend .cf-blog-single-content a {
	color: #3993d5;
	text-decoration: none !important;
}

body.custom-frontend .cf-blog-single-content a:hover {
	color: #2d7ab8;
	border-bottom-color: rgba(57, 147, 213, 0.7) !important;
}

/* Comments section */
body.custom-frontend .cf-blog-single-comments {
	margin-top: 2.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid #e5e7eb;
}

body.custom-frontend .cf-blog-single-comments--sidebar {
	margin-top: 1.25rem;
}

body.custom-frontend .cf-blog-single-comments h2,
body.custom-frontend .cf-blog-single-comments .comments-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: #111827;
}

body.custom-frontend .cf-blog-single-comments .comment-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

body.custom-frontend .cf-blog-single-comments .comment {
	padding: 0.9rem 0;
	border-bottom: 1px solid #e5e7eb;
}

body.custom-frontend .cf-blog-single-comments .comment:last-child {
	border-bottom: none;
}

body.custom-frontend .cf-blog-single-comments .comment-meta {
	font-size: 0.85rem;
	color: #6b7280;
	margin-bottom: 0.3rem;
}

body.custom-frontend .cf-blog-single-comments .comment-content {
	font-size: 0.95rem;
	color: #111827;
}

body.custom-frontend .cf-blog-single-comments .comment-respond {
	margin-top: 1.75rem;
}

body.custom-frontend .cf-blog-single-comments .comment-respond label {
	font-size: 0.9rem;
	font-weight: 500;
	color: #111827;
}

body.custom-frontend .cf-blog-single-comments .comment-respond input[type="text"],
body.custom-frontend .cf-blog-single-comments .comment-respond input[type="email"],
body.custom-frontend .cf-blog-single-comments .comment-respond textarea {
	width: 100%;
	max-width: 100%;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	padding: 0.5rem 0.7rem;
	font-size: 0.95rem;
}

body.custom-frontend .cf-blog-single-comments .comment-respond textarea {
	min-height: 120px;
}

body.custom-frontend .cf-blog-single-comments .comment-respond input[type="submit"] {
	margin-top: 0.75rem;
}

body.custom-frontend .cf-blog-single-footer {
	margin-top: 2rem;
	border-top: 1px solid #e5e7eb;
	padding-top: 1.5rem;
}
/* "Read our next article" section */
body.custom-frontend .cf-blog-single-next {
	margin-top: 3.25rem;
}

body.custom-frontend .cf-blog-single-next-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.75rem;
}

body.custom-frontend .cf-blog-single-next-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	color: #111827;
}

body.custom-frontend .cf-blog-card-date {
	margin: 0.1rem 0 0;
	font-size: 0.8rem;
	color: #9ca3af;
}

body.custom-frontend .cf-blog-single-next-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 0.5rem;
}

@media (max-width: 900px) {
	body.custom-frontend .cf-blog-single-next-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Full-width hero featured image */
body.custom-frontend .cf-blog-single-hero-image-wrap {
	width: 100vw;
	max-height: 500px;
	height: 500px;
	margin: 0 0 50px;
	overflow: hidden;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

body.custom-frontend .cf-blog-single-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Two-column body: sticky share sidebar + content */
body.custom-frontend .cf-blog-single-layout {
	margin: 0;
	padding: 0;
}

body.custom-frontend .cf-blog-single-body-two-col {
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
}

body.custom-frontend .cf-blog-single-share-sidebar {
	flex: 0 0 30%;
	max-width: 30%;
	font-size: 0.9rem;
	color: #4b5563;
	overflow: visible;
	position: sticky;
	top: 120px;
	align-self: flex-start;
}

body.custom-frontend .cf-blog-single-share-sticky {
	padding: 1rem 1.25rem;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.custom-frontend .cf-blog-single-share-count {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	color: #6b7280;
}

/* (Post details block removed – share only) */

body.custom-frontend .cf-blog-single-share-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
}

body.custom-frontend .cf-blog-single-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	color: #111827;
	font-size: 0.875rem;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

body.custom-frontend .cf-blog-single-share-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

body.custom-frontend .cf-blog-single-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #e5e7eb;
	color: #111827;
	font-size: 0.75rem;
}

body.custom-frontend .cf-blog-single-share-text {
	display: none;
}

body.custom-frontend .cf-blog-single-share-btn--facebook .cf-blog-single-share-icon {
	background: #1877f2;
	color: #ffffff;
}

body.custom-frontend .cf-blog-single-share-btn--twitter .cf-blog-single-share-icon {
	background: #1da1f2;
	color: #ffffff;
}

body.custom-frontend .cf-blog-single-share-btn--instagram .cf-blog-single-share-icon {
	background: linear-gradient(135deg, #ff7a18 0%, #af002d 35%, #319197 100%);
	color: #ffffff;
}

body.custom-frontend .cf-blog-single-share-btn--tiktok .cf-blog-single-share-icon {
	background: #111827;
	color: #ffffff;
}

body.custom-frontend .cf-blog-single-content-wrap {
	flex: 1 1 70%;
}

@media (max-width: 900px) {
	body.custom-frontend .cf-blog-single-body-two-col {
		flex-direction: column;
	}
	body.custom-frontend .cf-blog-single-share-sidebar,
	body.custom-frontend .cf-blog-single-content-wrap {
		max-width: 100%;
		flex: 1 1 auto;
	}
}

@media (max-width: 640px) {
	body.custom-frontend .cf-blog-single-next-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Hide Gutenberg post author block inside custom frontend layouts */
body.custom-frontend .wp-block-post-author,
body.custom-frontend .wp-block-post-author * ,
.custom-frontend-main .wp-block-post-author {
	display: none !important;
}

/* ----- Front page (custom layout) ----- */
body.custom-frontend .fp {
	padding: 0;
}
body.custom-frontend .fp__in {
	max-width: none;
}

body.custom-frontend .fp__hero {
	position: relative;
	background-color: #f0f7ff;
	background-size: auto;
	background-position: center;
	background-repeat: repeat;
	padding: clamp(4rem, 10vw, 6rem) 1.5rem;
	text-align: center;
	min-height: 420px;
}
body.custom-frontend .fp__hero-globe-wrap {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 20rem;
	pointer-events: none;
	z-index: 0;
	opacity: 1;
}
body.custom-frontend .fp__hero-globe {
	max-width: min(98vw, 1200px);
	width: 100%;
	height: auto;
	object-fit: contain;
}
body.custom-frontend .fp__hero-in {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
}
body.custom-frontend .fp__hero-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 4.5vw, 2.5rem);
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.03em;
	line-height: 1.25;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
body.custom-frontend .fp__hero-desc {
	margin: 0 0 1.5rem;
	font-size: 1.0625rem;
	color: #475569;
	line-height: 1.55;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
body.custom-frontend .fp__hero-cta {
	border: 2px solid #3993d5;
}
body.custom-frontend .fp__hero-cta:hover {
	border-color: #2d7ab8;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(57, 147, 213, 0.25);
}
body.custom-frontend .fp__hero-search-label {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	color: #334155;
	font-weight: 600;
}
body.custom-frontend .fp__hero-search {
	max-width: 100%;
	margin: 0 auto;
}
body.custom-frontend .fp__hero-search .geodir-search,
body.custom-frontend .fp__hero-search .bsui {
	max-width: 100%;
}
body.custom-frontend .fp__hero-search input[type="text"],
body.custom-frontend .fp__hero-search .form-control {
	background: #fff;
	border-color: #e2e8f0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
body.custom-frontend .fp__hero-search input[type="text"]:focus,
body.custom-frontend .fp__hero-search .form-control:focus {
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.15);
}

/* Section shell */
body.custom-frontend .fp__section {
	padding: 3rem 1.5rem 4rem;
}
body.custom-frontend .fp__wrap {
	max-width: 1200px;
	margin: 0 auto;
}
body.custom-frontend .fp__section-title {
	margin: 0 0 2rem;
	font-size: clamp(1.35rem, 3vw, 1.6rem);
	font-weight: 600;
	color: #111827;
	letter-spacing: -0.02em;
	text-align: center;
}

/* Category of listings (carousel, 6 at a time with icon) */
body.custom-frontend .fp__categories {
	background: #fff;
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.05);
}
body.custom-frontend .fp__cat-carousel {
	position: relative;
	margin-bottom: 0;
}
body.custom-frontend .fp__cat-slider {
	position: relative;
	padding: 0 4.5rem;
}
@media (max-width: 600px) {
	body.custom-frontend .fp__cat-slider {
		padding: 0 3rem;
	}
}
body.custom-frontend .fp__cat-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	line-height: 1;
	color: #374151;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	padding: 0;
}
body.custom-frontend .fp__cat-arrow:hover {
	border-color: #3993d5;
	color: #3993d5;
	background: #eff6ff;
	box-shadow: 0 4px 12px rgba(57, 147, 213, 0.2);
}
body.custom-frontend .fp__cat-arrow span {
	display: block;
	margin-top: -0.1em;
}
body.custom-frontend .fp__cat-prev {
	left: 0.75rem;
}
body.custom-frontend .fp__cat-next {
	right: 0.75rem;
}
body.custom-frontend .fp__cat-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
body.custom-frontend .fp__cat-viewport::-webkit-scrollbar {
	display: none;
}
body.custom-frontend .fp__cat-track {
	display: flex;
	gap: 2rem;
	width: max-content;
	padding: 0.5rem 1.25rem 0.5rem;
	min-width: 100%;
	box-sizing: border-box;
}
body.custom-frontend .fp__cat-circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: #374151;
	flex: 0 0 220px;
	min-width: 160px;
	scroll-snap-align: start;
	box-sizing: border-box;
}
body.custom-frontend .fp__cat-circle-img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #3993d51a;
	background-size: cover;
	background-position: center;
	margin-bottom: 0.75rem;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}
body.custom-frontend .fp__cat-circle:hover .fp__cat-circle-img {
	background-color: #3993d5 !important;
}
body.custom-frontend .fp__cat-circle-icon {
	font-size: 2rem;
	color: #3993d5;
	line-height: 1;
	transition: color 0.3s ease;
}
body.custom-frontend .fp__cat-circle:hover .fp__cat-circle-icon {
	color: #fff;
}
body.custom-frontend .fp__cat-circle-name {
	font-size: 0.9375rem;
	font-weight: 500;
	text-align: center;
	line-height: 1.3;
}
/* 5 visible on large; 3 on medium; 2 on small */
@media (max-width: 1000px) {
	body.custom-frontend .fp__cat-circle {
		flex: 0 0 200px;
	}
}
@media (max-width: 600px) {
	body.custom-frontend .fp__cat-circle {
		flex: 0 0 160px;
		min-width: 120px;
	}
	body.custom-frontend .fp__cat-circle-img {
		width: 64px;
		height: 64px;
	}
	body.custom-frontend .fp__cat-circle-icon {
		font-size: 1.5rem;
	}
}
body.custom-frontend .fp__cat-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	flex-wrap: wrap;
}
body.custom-frontend .fp__cat-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
}
body.custom-frontend .fp__cat-dot:hover {
	background: #94a3b8;
	transform: scale(1.15);
}
body.custom-frontend .fp__cat-dot.is-active {
	background: #3993d5;
	transform: scale(1.2);
	cursor: default;
}
body.custom-frontend .fp__categories .fp__cats-more {
	margin: 1.5rem 0 0;
	text-align: center;
	font-size: 0.9375rem;
}
body.custom-frontend .fp__categories .fp__cats-more a {
	color: #3993d5;
	text-decoration: none;
	font-weight: 500;
}
body.custom-frontend .fp__categories .fp__cats-more a:hover {
	text-decoration: underline;
}

/* Featured listings */
body.custom-frontend .fp__featured {
	background: #fff;
}
body.custom-frontend .fp__listings-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: 2rem;
}
@media (max-width: 900px) {
	body.custom-frontend .fp__listings-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	body.custom-frontend .fp__listings-grid {
		grid-template-columns: 1fr;
	}
}
body.custom-frontend .fp__listing-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}
body.custom-frontend .fp__listing-img {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	background: #ffffff;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

/* "Featured" badge on listing cards (archive, home, destinations) */
body.custom-frontend .cf-featured-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f59e0b;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
	pointer-events: none;
}
body.custom-frontend .cf-featured-badge-star {
	font-size: 0.85rem;
	line-height: 1;
}
/* Inline badge in the single business header (not pinned to a card corner) */
body.custom-frontend .cf-single-place-badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}
body.custom-frontend .cf-single-place-badges .cf-single-place-cat-badge {
	margin: 0;
}
body.custom-frontend .cf-single-place-badges .cf-featured-badge {
	position: static;
	box-shadow: none;
	padding: 5px 12px;
	font-size: 0.75rem;
}
body.custom-frontend .fp__listing-title {
	display: block;
	padding: 0.75rem 1rem 0.25rem;
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
}
body.custom-frontend .fp__listing-rating {
	display: block;
	padding: 0 1rem 0.75rem;
	font-size: 0.875rem;
	color: #6b7280;
}
body.custom-frontend .fp__featured-more {
	margin: 0;
	text-align: center;
}
body.custom-frontend .fp__btn {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
body.custom-frontend .fp__btn-primary {
	background: #3993d5;
	color: #fff;
	border: 2px solid #3993d5;
}
body.custom-frontend .fp__btn-primary:hover {
	background: #2d7ab8;
	border-color: #2d7ab8;
	color: #fff;
}
body.custom-frontend .fp__btn-outline {
	background: transparent;
	color: #3993d5;
	border: 2px solid #3993d5;
}
body.custom-frontend .fp__btn-outline:hover {
	background: #3993d5;
	color: #fff;
}

/* Discover Listings CTA (full-width bg image) */
body.custom-frontend .fp__discover {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 4rem 1.5rem;
	min-height: 320px;
	display: flex;
	align-items: center;
}
body.custom-frontend .fp__discover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	pointer-events: none;
}
body.custom-frontend .fp__discover-in {
	position: relative;
	z-index: 1;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
body.custom-frontend .fp__discover-title {
	text-align: center;
	margin-bottom: 1rem;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
body.custom-frontend .fp__discover-p {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.6;
	font-size: 1rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
body.custom-frontend .fp__discover-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}
body.custom-frontend .fp__discover .fp__btn-outline {
	border-color: #fff;
	color: #fff;
}
body.custom-frontend .fp__discover .fp__btn-outline:hover {
	background: #fff;
	color: #3993d5;
	border-color: #fff;
}
body.custom-frontend .fp__discover .fp__btn-primary {
	background: #fff;
	color: #3993d5;
	border-color: #fff;
}
body.custom-frontend .fp__discover .fp__btn-primary:hover {
	background: #eff6ff;
	color: #2d7ab8;
	border-color: #eff6ff;
}

/* Explore (map center, 3 cards left + 3 right, map full height) */
body.custom-frontend .fp__mappins {
	background: #fff;
}
body.custom-frontend .fp__explore-inner {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	align-items: stretch;
}
@media (max-width: 900px) {
	body.custom-frontend .fp__explore-inner {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr auto;
	}
}
body.custom-frontend .fp__explore-cards {
	display: flex;
	flex-direction: column;
	gap: 25px;
	padding: 1rem;
	background: #fff;
}
body.custom-frontend .fp__explore-cards-left {
	border-right: 1px solid #e5e7eb;
}
body.custom-frontend .fp__explore-cards-right {
	border-left: 1px solid #e5e7eb;
}
@media (max-width: 900px) {
	body.custom-frontend .fp__explore-cards-left {
		border-right: none;
		border-bottom: 1px solid #e5e7eb;
	}
	body.custom-frontend .fp__explore-cards-right {
		border-left: none;
		border-top: 1px solid #e5e7eb;
	}
	body.custom-frontend .fp__explore-cards {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	body.custom-frontend .fp__explore-cards .fp__listing-card-sm {
		flex: 1 1 180px;
		min-width: 0;
	}
}
body.custom-frontend .fp__explore-map-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 590px;
	min-height: 590px;
	background: #fff;
}
body.custom-frontend .fp__map-inner {
	flex: 1;
	overflow: hidden;
	height: 100%;
	min-height: 0;
}
body.custom-frontend .fp__map-inner .geodir-map-container,
body.custom-frontend .fp__map-inner iframe {
	border-radius: 0;
	height: 100% !important;
	min-height: 590px;
}
body.custom-frontend .fp__explore-cards .fp__listing-card-sm {
	min-width: 0;
	height: 160px;
	min-height: 160px;
	display: flex;
	flex-direction: column;
}
body.custom-frontend .fp__explore-cards .fp__listing-card-sm .fp__listing-img {
	flex: 1;
	min-height: 0;
	/* Fill the thumbnail area edge to edge, no blank/letterbox space. */
	background-size: cover;
	background-position: center;
}
body.custom-frontend .fp__explore-cards .fp__listing-card-sm .fp__listing-title,
body.custom-frontend .fp__explore-cards .fp__listing-card-sm .fp__listing-rating {
	flex-shrink: 0;
}

/* Blog */
body.custom-frontend .fp__blog {
	background: #fafafa;
}
body.custom-frontend .fp__blog-slider {
	position: relative;
	margin-bottom: 1.5rem;
}
body.custom-frontend .fp__blog-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 900px) {
	body.custom-frontend .fp__blog-track {
		grid-template-columns: 1fr;
	}
}
body.custom-frontend .fp__blog-card {
	margin: 0;
}
body.custom-frontend .fp__blog-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}
body.custom-frontend .fp__blog-card-img {
	display: block;
	width: 100%;
	aspect-ratio: 16/10;
	background: #e5e7eb;
	background-size: cover;
	background-position: center;
}
body.custom-frontend .fp__blog-card-title {
	margin: 0;
	padding: 1rem 1rem 0.25rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
}
body.custom-frontend .fp__blog-card-excerpt {
	margin: 0;
	padding: 0 1rem;
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.5;
}
body.custom-frontend .fp__blog-card-date {
	display: block;
	padding: 0.5rem 1rem 1rem;
	font-size: 0.8125rem;
	color: #9ca3af;
}
body.custom-frontend .fp__blog-nav {
	display: none;
	text-align: center;
	margin-top: 1rem;
}
body.custom-frontend .fp__blog-prev,
body.custom-frontend .fp__blog-next {
	padding: 0.5rem 1rem;
	margin: 0 0.25rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1.25rem;
}
body.custom-frontend .fp__blog-more {
	margin: 0;
	text-align: center;
	font-size: 0.9375rem;
}
body.custom-frontend .fp__blog-more a {
	color: #3993d5;
	text-decoration: none;
	font-weight: 500;
}
body.custom-frontend .fp__blog-more a:hover {
	text-decoration: underline;
}

/* Blog – primary button override */
body.custom-frontend .fp__blog-more .fp__btn-primary {
	color: #fff;
	background: #3993d5;
	border-color: #3993d5;
	text-decoration: none;
	font-weight: 600;
}
body.custom-frontend .fp__blog-more .fp__btn-primary:hover {
	background: #2d7ab8;
	border-color: #2d7ab8;
	color: #fff;
	text-decoration: none;
}

/* Customer feedback */
body.custom-frontend .fp__testimonials {
	background: #fff;
}
body.custom-frontend .fp__testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 0 auto;
}
@media (max-width: 900px) {
	body.custom-frontend .fp__testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	body.custom-frontend .fp__testimonials-grid {
		grid-template-columns: 1fr;
	}
}
body.custom-frontend .fp__testimonial {
	margin: 0;
	padding: 1.75rem;
	background: #f9fafb;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}
body.custom-frontend .fp__testimonial-text {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #374151;
	font-style: italic;
	flex: 1;
}
body.custom-frontend .fp__testimonial-text::before {
	content: '"';
}
body.custom-frontend .fp__testimonial-text p:first-child {
	margin-top: 0;
}
body.custom-frontend .fp__testimonial-text p:last-child {
	margin-bottom: 0;
}
body.custom-frontend .fp__testimonial-footer {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: auto;
}
body.custom-frontend .fp__testimonial-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e5e7eb;
	flex-shrink: 0;
	object-fit: cover;
	display: block;
}
body.custom-frontend .fp__testimonial-author {
	font-style: normal;
	font-weight: 600;
	color: #111827;
}
body.custom-frontend .fp__testimonial-role {
	font-size: 0.875rem;
	color: #6b7280;
}

/* Bottom CTA */
body.custom-frontend .fp__cta {
	background: #fafafa;
	border-top: 1px solid #f0f0f0;
}
body.custom-frontend .fp__cta-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	max-width: 1100px;
}
@media (max-width: 768px) {
	body.custom-frontend .fp__cta-in {
		grid-template-columns: 1fr;
	}
}
body.custom-frontend .fp__cta-title {
	text-align: left;
	margin-bottom: 1rem;
}
body.custom-frontend .fp__cta-p {
	margin: 0 0 1.5rem;
	color: #4b5563;
	line-height: 1.6;
	font-size: 1rem;
}
body.custom-frontend .fp__cta-img {
	border-radius: 12px;
	overflow: hidden;
	background: #e5e7eb;
}
body.custom-frontend .fp__cta-img img {
	width: 100%;
	height: auto;
	display: block;
}

/* ----- GD Archive (Businesses) – UI polish v2 ----- */
/* Hero header */
body.custom-frontend .cf-gd-hero {
	background: linear-gradient(165deg, #0f172a 0%, #1e293b 50%, #1a2332 100%);
	color: #f8fafc;
	padding: 3rem 1.5rem 4rem;
	margin-bottom: 0;
	position: relative;
}
body.custom-frontend .cf-gd-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(248, 250, 252, 0.08), transparent);
	pointer-events: none;
}
body.custom-frontend .cf-gd-hero-inner {
	max-width: 1440px;
	margin: 0 auto;
}
body.custom-frontend .cf-gd-breadcrumb {
	font-size: 0.8125rem;
	color: #94a3b8;
	margin-bottom: 1rem;
	letter-spacing: 0.03em;
}
body.custom-frontend .cf-gd-breadcrumb a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.2s ease;
}
body.custom-frontend .cf-gd-breadcrumb a:hover {
	color: #fff;
}
body.custom-frontend .cf-gd-breadcrumb-sep {
	margin: 0 0.4rem;
	opacity: 0.7;
}
body.custom-frontend .cf-gd-breadcrumb-current {
	color: #f1f5f9;
	font-weight: 500;
}
body.custom-frontend .cf-gd-hero-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.875rem, 4.5vw, 2.75rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1.15;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}
body.custom-frontend .cf-gd-hero-cat-icon {
	display: inline-block;
	margin-right: 0.25rem;
	font-size: 0.85em;
	opacity: 0.95;
}
body.custom-frontend .cf-gd-hero-cat-icon::before {
	vertical-align: middle;
}
body.custom-frontend .cf-gd-hero-desc {
	margin: 0;
	font-size: 1.0625rem;
	color: #94a3b8;
	line-height: 1.5;
	max-width: 32ch;
}

/* Main content wrapper – universal max-width, centered */
body.custom-frontend .cf-gd-archive-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem 3rem;
	box-sizing: border-box;
}

/* Search section – overlaps hero for modern look */
body.custom-frontend .cf-gd-search-section {
	margin-bottom: 2rem;
}
body.custom-frontend .cf-gd-search-overlap {
	margin-top: -2rem;
	position: relative;
	z-index: 2;
}
body.custom-frontend .cf-gd-search-bar {
	background: #fff;
	border-radius: 14px;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 2px 10px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(226, 232, 240, 0.9);
	transition: box-shadow 0.25s ease;
}
body.custom-frontend .cf-gd-search-bar:focus-within {
	box-shadow: 0 14px 48px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.08);
}
body.custom-frontend .cf-gd-search-bar .geodir-search,
body.custom-frontend .cf-gd-search-bar .bsui {
	max-width: 100%;
}
body.custom-frontend .cf-gd-search-bar input[type="text"],
body.custom-frontend .cf-gd-search-bar .form-control {
	border-radius: 10px;
	border-color: #e2e8f0;
}
body.custom-frontend .cf-gd-search-bar input[type="text"]:focus,
body.custom-frontend .cf-gd-search-bar .form-control:focus {
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.15);
}

/* Map + list layout – map left, sticky on desktop */
body.custom-frontend .cf-gd-archive-v2 .cf-gd-archive-inner {
	overflow: visible;
}
body.custom-frontend .cf-gd-layout {
	display: block;
	width: 100%;
	max-width: 100%;
	gap: 2rem;
	align-items: start;
	overflow: visible;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Category-filter layout: sidebar + listings (no search bar, so add top spacing) */
body.custom-frontend .cf-gd-layout--filters {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-layout--filters {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}
	body.custom-frontend .cf-gd-sidebar,
	body.custom-frontend .cf-gd-sidebar-inner {
		max-width: 100%;
		box-sizing: border-box;
	}
}

/* Sidebar – the grid item itself sticks (align-self:start so it keeps its own
   height inside the tall grid row, giving the sticky position room to travel). */
body.custom-frontend .cf-gd-sidebar {
	min-width: 0;
	align-self: start;
	position: sticky;
	top: 88px; /* below fixed header (~72px) + gap */
}
body.custom-frontend .cf-gd-sidebar-inner {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 1.25rem 1rem;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
/* On tablet/phone both filter rows (categories + subcategories) stick under the
   fixed header. The layout switches to block flow so the sidebar shares the tall
   scroll context of the listings — a single-column grid would trap it in a short
   row and it could not travel. The subcategory row's offset is set from the
   category row's height via --cf-subcat-top (JS, with a static fallback). */
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-layout--filters {
		display: block;
	}
	body.custom-frontend .cf-gd-sidebar {
		position: sticky;
		top: 72px;
		z-index: 30;
		margin-bottom: 0.85rem;
		background: #fff;
	}
	body.custom-frontend .cf-gd-subcat {
		position: sticky;
		top: var(--cf-subcat-top, 128px);
		z-index: 29;
		margin-bottom: 1rem;
		padding: 0.45rem 0;
		background: #fff;
		box-shadow: 0 8px 10px -10px rgba(15, 23, 42, 0.25);
	}
}
body.custom-frontend .cf-gd-sidebar-title {
	margin: 0 0 0.85rem;
	padding: 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #64748b;
}
body.custom-frontend .cf-gd-cat-filter {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	max-height: min(70vh, 640px);
	overflow-y: auto;
}
body.custom-frontend .cf-gd-cat-filter-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.7rem;
	border-radius: 9px;
	color: #334155;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
body.custom-frontend .cf-gd-cat-filter-link:hover {
	background: #f1f5f9;
	color: #0f172a;
}
body.custom-frontend .cf-gd-cat-filter-link.is-active {
	background: #eaf4fc;
	color: #1d6fb0;
	font-weight: 600;
}
body.custom-frontend .cf-gd-cat-filter-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* On tablet/phone the category list becomes a compact horizontal chip row, so
   it no longer fills the whole first screen before any listings. Placed after
   the base rules above so these win (media queries add no specificity). */
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-sidebar-inner {
		padding: 0.9rem 0.85rem;
	}
	body.custom-frontend .cf-gd-sidebar-title {
		margin-bottom: 0.6rem;
		padding: 0 0.15rem;
	}
	body.custom-frontend .cf-gd-cat-filter {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.5rem;
		max-height: none;
		overflow-x: auto;
		overflow-y: visible;
		padding-bottom: 0.3rem;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	body.custom-frontend .cf-gd-cat-filter::-webkit-scrollbar {
		display: none;
	}
	body.custom-frontend .cf-gd-cat-filter li {
		flex: 0 0 auto;
	}
	body.custom-frontend .cf-gd-cat-filter-link {
		justify-content: flex-start;
		padding: 0.45rem 0.9rem;
		border: 1px solid #e2e8f0;
		border-radius: 999px;
		white-space: nowrap;
	}
	body.custom-frontend .cf-gd-cat-filter-link.is-active {
		border-color: #3993d5;
	}
	body.custom-frontend .cf-gd-cat-filter-name {
		overflow: visible;
		text-overflow: clip;
	}
}

/* Subcategory carousel */
body.custom-frontend .cf-gd-subcat {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
body.custom-frontend .cf-gd-subcat-viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
body.custom-frontend .cf-gd-subcat-viewport::-webkit-scrollbar {
	display: none;
}
body.custom-frontend .cf-gd-subcat-track {
	display: inline-flex;
	gap: 0.5rem;
	padding: 0.15rem 0.1rem;
}
body.custom-frontend .cf-gd-subcat-chip {
	flex: 0 0 auto;
	padding: 0.5rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #fff;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.custom-frontend .cf-gd-subcat-chip:hover {
	border-color: #3993d5;
	color: #1d6fb0;
}
body.custom-frontend .cf-gd-subcat-chip.is-active {
	background: #3993d5;
	border-color: #3993d5;
	color: #fff;
	font-weight: 600;
}
body.custom-frontend .cf-gd-subcat-arrow {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	background: #fff;
	color: #334155;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	transition: background 0.15s ease, color 0.15s ease;
}
body.custom-frontend .cf-gd-subcat-arrow:hover {
	background: #3993d5;
	border-color: #3993d5;
	color: #fff;
}
body.custom-frontend .cf-gd-subcat-arrow[hidden] {
	display: none;
}
/* Map column: left on desktop, sticky within layout */
body.custom-frontend .cf-gd-map-col {
	position: sticky;
	top: 80px; /* below fixed header (72px) + gap */
	align-self: start;
	max-height: calc(100vh - 80px);
	display: flex;
	flex-direction: column;
	min-height: 520px;
}
body.custom-frontend .cf-gd-map-col .cf-gd-map-wrap {
	flex: 1 1 auto;
	min-height: 400px;
}
@media (max-width: 1024px) {
	body.custom-frontend .cf-gd-map-col {
		position: relative;
		top: 0;
		max-height: none;
		min-height: 0;
		order: 0;
	}
}
body.custom-frontend .cf-gd-map-header {
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}
body.custom-frontend .cf-gd-map-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
}
body.custom-frontend .cf-gd-map-wrap {
	border-radius: 14px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
body.custom-frontend .cf-gd-map-wrap .geodir-map-container,
body.custom-frontend .cf-gd-map-wrap iframe {
	border-radius: 14px;
	min-height: 480px;
	height: 100%;
}
@media (min-width: 1025px) {
	body.custom-frontend .cf-gd-map-wrap .geodir-map-container,
	body.custom-frontend .cf-gd-map-wrap iframe {
		min-height: min(520px, calc(100vh - 180px));
	}
}
body.custom-frontend .cf-gd-list-col {
	min-width: 0;
	width: 100%;
	overflow: visible;
	display: block;
}
/* Ensure cards grid: 3 columns, full width (override any theme/plugin) */
body.custom-frontend .cf-gd-archive-v2 .cf-gd-cards-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	width: 100% !important;
	visibility: visible !important;
	opacity: 1 !important;
}
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-archive-v2 .cf-gd-cards-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
@media (max-width: 480px) {
	body.custom-frontend .cf-gd-archive-v2 .cf-gd-cards-grid {
		grid-template-columns: 1fr !important;
	}
}
body.custom-frontend .cf-gd-archive-v2 .cf-gd-card {
	display: block !important;
	visibility: visible !important;
	min-height: 0;
}
body.custom-frontend .cf-gd-archive-v2 .cf-gd-card-link {
	display: block !important;
	height: 100%;
}

/* List header / results count */
body.custom-frontend .cf-gd-list-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}
body.custom-frontend .cf-gd-results-count {
	margin: 0;
	font-size: 0.9375rem;
	color: #475569;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
body.custom-frontend .cf-gd-results-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.4rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #3993d5;
	background: #eff6ff;
	border-radius: 8px;
}

/* Cards grid – 3 columns, 9 per page; pagination after */
body.custom-frontend .cf-gd-cards,
body.custom-frontend .cf-gd-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
	width: 100%;
	box-sizing: border-box;
}
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-cards,
	body.custom-frontend .cf-gd-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}
@media (max-width: 480px) {
	body.custom-frontend .cf-gd-cards,
	body.custom-frontend .cf-gd-cards-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

body.custom-frontend .cf-gd-card {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.custom-frontend .cf-gd-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	border: 1px solid #e2e8f0;
	transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
body.custom-frontend .cf-gd-card-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	border-color: #cbd5e1;
}
body.custom-frontend .cf-gd-card-link:focus-visible {
	outline: 2px solid #3993d5;
	outline-offset: 2px;
}

body.custom-frontend .cf-gd-card-image-wrap {
	position: relative;
	aspect-ratio: 4 / 3;
	/* White (not grey) so logo letterboxing is invisible. */
	background: #ffffff;
	overflow: hidden;
}
body.custom-frontend .cf-gd-card-image {
	width: 100%;
	height: 100%;
	/* Listing images are mostly company logos: contain keeps them whole
	   (cover crops the wordmark). The wrap is white so the letterbox area
	   blends with the logo background instead of showing a grey band. */
	object-fit: contain;
	object-position: center;
	display: block;
	transition: transform 0.35s ease;
}
body.custom-frontend .cf-gd-card-link:hover .cf-gd-card-image {
	transform: scale(1.03);
}
body.custom-frontend .cf-gd-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
}
body.custom-frontend .cf-gd-card-rating {
	position: absolute;
	bottom: 0.5rem;
	left: 0.5rem;
	right: 0.5rem;
	font-size: 0.8125rem;
}
body.custom-frontend .cf-gd-card-rating .gd-rating,
body.custom-frontend .cf-gd-card-rating .geodir_post_meta {
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* Only color the active (foreground) stars on cards */
body.custom-frontend .cf-gd-card-rating .gd-rating-foreground .fa-star {
	color: #fbbf24;
}
body.custom-frontend .cf-gd-card-rating .gd-rating-background .fa-star {
	color: #e5e7eb;
}

body.custom-frontend .cf-gd-card-body {
	padding: 1.25rem 1.25rem 1.5rem;
}
body.custom-frontend .cf-gd-card-cat {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	color: #3993d5;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	display: inline-block;
	padding: 0.2rem 0.5rem;
	background: #eff6ff;
	border-radius: 6px;
}
body.custom-frontend .cf-gd-card-title {
	margin: 0 0 0.4rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
	letter-spacing: -0.02em;
	transition: color 0.2s ease;
}
body.custom-frontend .cf-gd-card-link:hover .cf-gd-card-title {
	color: #3993d5;
}
body.custom-frontend .cf-gd-card-address {
	margin: 0 0 0.4rem;
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.4;
}
body.custom-frontend .cf-gd-card-excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	color: #64748b;
	line-height: 1.5;
}
body.custom-frontend .cf-gd-card-cta {
	font-size: 0.875rem;
	font-weight: 600;
	color: #3993d5;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	transition: gap 0.2s ease;
}
body.custom-frontend .cf-gd-card-link:hover .cf-gd-card-cta {
	gap: 0.4rem;
}

/* Empty state */
body.custom-frontend .cf-gd-empty-wrap {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	padding: 3rem 2rem;
	text-align: center;
}
body.custom-frontend .cf-gd-empty-icon {
	display: block;
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	background: #e2e8f0;
	border-radius: 50%;
}
body.custom-frontend .cf-gd-empty-title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #334155;
}
body.custom-frontend .cf-gd-empty {
	margin: 0;
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.55;
	max-width: 36ch;
	margin-left: auto;
	margin-right: auto;
}

/* ----- User Profile page (signed-in: details + my listings cards) ----- */
body.custom-frontend .cf-profile-main {
	padding-bottom: 3rem;
}
body.custom-frontend .cf-profile-hero {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	padding: 2rem 1.5rem;
}
body.custom-frontend .cf-profile-hero-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}
body.custom-frontend .cf-profile-avatar-wrap {
	flex-shrink: 0;
}
body.custom-frontend .cf-profile-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}
body.custom-frontend .cf-profile-avatar-placeholder {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
	display: block;
}
body.custom-frontend .cf-profile-details {
	flex: 1 1 200px;
}
body.custom-frontend .cf-profile-title {
	margin: 0 0 0.25rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
}
body.custom-frontend .cf-profile-email {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	color: #6b7280;
}
body.custom-frontend .cf-profile-plan-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0.5rem 0 0.75rem;
}
body.custom-frontend .cf-profile-plan-badge {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	font-size: 0.8125rem;
	font-weight: 600;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
body.custom-frontend .cf-profile-plan-badge--free {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
}
body.custom-frontend .cf-profile-plan-badge--premium {
	background: linear-gradient(135deg, #3993d5 0%, #2980b9 100%);
	color: #fff;
	border: none;
}
body.custom-frontend .cf-profile-upgrade-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: #3498db;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease;
}
body.custom-frontend .cf-profile-upgrade-btn:hover {
	background: #2980b9;
	color: #fff;
}
body.custom-frontend .cf-profile-listings-section {
	padding: 2rem 1.5rem 3rem;
}
body.custom-frontend .cf-profile-listings-inner {
	max-width: 1440px;
	margin: 0 auto;
}
body.custom-frontend .cf-profile-listings-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e5e7eb;
}
body.custom-frontend .cf-profile-listings-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
}
body.custom-frontend .cf-profile-cards {
	margin-top: 0;
}
body.custom-frontend .cf-profile-card .cf-gd-card-body {
	padding: 1.25rem 1.25rem 1.5rem;
}
body.custom-frontend .cf-profile-card-date {
	margin: 0;
	font-size: 0.8125rem;
	color: #9ca3af;
	line-height: 1.4;
}
body.custom-frontend .cf-profile-card-status {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	padding: 0.2rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-radius: 6px;
	background: #fef3c7;
	color: #92400e;
}
body.custom-frontend .cf-profile-card-status.cf-profile-card-status-pending {
	background: #dbeafe;
	color: #1e40af;
}
body.custom-frontend .cf-profile-empty {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	padding: 3rem 2rem;
	text-align: center;
}
body.custom-frontend .cf-profile-empty-title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #334155;
}
body.custom-frontend .cf-profile-empty-desc {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.5;
}

/* Pagination – after 9 cards */
body.custom-frontend .cf-gd-pagination-nav {
	margin-top: 2.5rem;
	margin-bottom: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
}
body.custom-frontend .cf-gd-pagination-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
body.custom-frontend .cf-gd-pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.6rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
body.custom-frontend .cf-gd-pagination-nav .page-numbers:hover {
	border-color: #3993d5;
	color: #3993d5;
	background: #eff6ff;
}
body.custom-frontend .cf-gd-pagination-nav .page-numbers:focus-visible {
	outline: 2px solid #3993d5;
	outline-offset: 2px;
}
body.custom-frontend .cf-gd-pagination-nav .page-numbers.current {
	border-color: #3993d5;
	background: #3993d5;
	color: #fff;
}
body.custom-frontend .cf-gd-pagination-nav .page-numbers.dots {
	border: none;
	background: transparent;
	color: #94a3b8;
}

/* Category CMS content + FAQ (under listings) */
body.custom-frontend .cf-gd-cat-cms {
	margin-top: 2.5rem;
	padding-top: 2.25rem;
	border-top: 1px solid #e2e8f0;
}
body.custom-frontend .cf-gd-cat-cms-inner {
	max-width: 1100px;
	margin: 0 auto;
}
body.custom-frontend .cf-gd-cat-cms-rows {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
body.custom-frontend .cf-gd-cat-cms-row {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 1.75rem;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
body.custom-frontend .cf-gd-cat-cms-row--2 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-cat-cms-row,
	body.custom-frontend .cf-gd-cat-cms-row--2 {
		grid-template-columns: minmax(0, 1fr);
	}
}
body.custom-frontend .cf-gd-cat-cms-col--text {
	min-width: 0;
}
body.custom-frontend .cf-gd-cat-cms-col--image {
	min-width: 0;
}
body.custom-frontend .cf-gd-cat-cms-title {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 750;
	color: #0f172a;
	letter-spacing: -0.02em;
}
body.custom-frontend .cf-gd-cat-cms-subtitle {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.02em;
}
body.custom-frontend .cf-gd-cat-cms-text {
	font-size: 1rem;
	line-height: 1.75;
	color: #334155;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}
body.custom-frontend .cf-gd-cat-cms-text a {
	color: #3993d5;
	text-decoration: none;
	border-bottom: 1px solid rgba(57, 147, 213, 0.35);
}
body.custom-frontend .cf-gd-cat-cms-text a:hover {
	border-bottom-color: rgba(57, 147, 213, 0.7);
}
body.custom-frontend .cf-gd-cat-cms-empty {
	margin: 0;
	color: #64748b;
}
body.custom-frontend .cf-gd-cat-cms-images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}
@media (max-width: 900px) {
	body.custom-frontend .cf-gd-cat-cms-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 520px) {
	body.custom-frontend .cf-gd-cat-cms-images {
		grid-template-columns: minmax(0, 1fr);
	}
}
body.custom-frontend .cf-gd-cat-cms-img {
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	background-color: #f1f5f9;
	border: 1px solid #e2e8f0;
}

body.custom-frontend .cf-gd-cat-faq {
	margin-top: 1.75rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
body.custom-frontend .cf-gd-cat-faq-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 750;
	color: #0f172a;
	letter-spacing: -0.02em;
}
body.custom-frontend .cf-gd-cat-faq-list {
	display: grid;
	gap: 0.75rem;
}
body.custom-frontend .cf-gd-cat-faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	padding: 0.25rem 0.9rem;
}
body.custom-frontend .cf-gd-cat-faq-q {
	cursor: pointer;
	padding: 0.8rem 0.25rem;
	font-weight: 650;
	color: #0f172a;
	list-style: none;
}
body.custom-frontend .cf-gd-cat-faq-q::-webkit-details-marker {
	display: none;
}
body.custom-frontend .cf-gd-cat-faq-item > summary::after {
	content: '+';
	float: right;
	color: #3993d5;
	font-weight: 900;
}
body.custom-frontend .cf-gd-cat-faq-item[open] > summary::after {
	content: '–';
}
body.custom-frontend .cf-gd-cat-faq-a {
	padding: 0 0.25rem 0.95rem;
	color: #334155;
	line-height: 1.7;
}

/* Legacy toolbar class (if still used) */
body.custom-frontend .cf-gd-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

/* ----- Single business/listing (gd_place) – improved layout & appeal ----- */
body.custom-frontend .cf-single-place-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	background: #fff;
}

@media (min-width: 768px) {
	body.custom-frontend .cf-single-place-inner {
		padding: 2rem 1.5rem 4rem;
	}
}

body.custom-frontend .cf-single-place-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	font-size: 0.875rem;
	color: #64748b;
	margin-bottom: 1.5rem;
}

body.custom-frontend .cf-single-place-breadcrumb a {
	color: #475569;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.custom-frontend .cf-single-place-breadcrumb a:hover {
	color: #3993d5;
}

body.custom-frontend .cf-single-place-breadcrumb-sep {
	color: #94a3b8;
	font-weight: 300;
}

body.custom-frontend .cf-single-place-breadcrumb-current {
	color: #0f172a;
	font-weight: 500;
}

/* Header: category badge + title + rating + gallery */
body.custom-frontend .cf-single-place-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
	margin-bottom: 2.5rem;
	padding: 1.75rem 0;
	border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
	body.custom-frontend .cf-single-place-header {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-bottom: 2rem;
		padding: 1.25rem 0;
	}
}

body.custom-frontend .cf-single-place-header-text {
	min-width: 0;
}

body.custom-frontend .cf-single-place-cat-badge {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #eff6ff;
	color: #3993d5;
	border-radius: 999px;
}

body.custom-frontend .cf-single-place-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

body.custom-frontend .cf-single-place-rating {
	margin-top: 0.5rem;
	font-size: 1rem;
}

/* Only color the active (foreground) stars, so 0-rating listings don't look 5-star */
body.custom-frontend .cf-single-place-rating .gd-rating-foreground .fa-star {
	color: #f59e0b;
}

/* Inline claim button under rating */
body.custom-frontend .cf-single-place-claim-inline {
	margin-top: 0.75rem;
}

body.custom-frontend .cf-single-place-claim-inline .geodir-post-claim .btn,
body.custom-frontend .cf-single-place-claim-inline .geodir-post-claim a.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.4rem;
	border-radius: 999px;
	background: #3993d5;
	border-color: #3993d5;
	color: #fff;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(57, 147, 213, 0.25);
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.custom-frontend .cf-single-place-claim-inline .geodir-post-claim .btn:hover,
body.custom-frontend .cf-single-place-claim-inline .geodir-post-claim a.btn:hover {
	background: #2d7ab8;
	border-color: #2d7ab8;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(57, 147, 213, 0.35);
}

body.custom-frontend .cf-single-place-gallery {
	border-radius: 16px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

body.custom-frontend .cf-single-place-gallery-inner,
body.custom-frontend .cf-single-place-gallery .geodir-post-images {
	padding: 1rem;
}

body.custom-frontend .cf-single-place-gallery-inner img,
body.custom-frontend .cf-single-place-gallery .geodir-post-images img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	object-fit: cover;
}

@media (max-width: 900px) {
	body.custom-frontend .cf-single-place-gallery-inner,
	body.custom-frontend .cf-single-place-gallery .geodir-post-images {
		padding: 0.75rem;
	}
}

/* Two-column: main + sidebar */
body.custom-frontend .cf-single-place-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2.5rem;
	align-items: start;
}

@media (max-width: 992px) {
	body.custom-frontend .cf-single-place-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

body.custom-frontend .cf-single-place-main {
	min-width: 0;
}

body.custom-frontend .cf-single-place-section {
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #e2e8f0;
}

body.custom-frontend .cf-single-place-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

body.custom-frontend .cf-single-place-section-title {
	margin: 0 0 1.25rem;
	padding-bottom: 0.5rem;
	font-size: 1.375rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.02em;
	border-bottom: 3px solid #3993d5;
	display: inline-block;
}

body.custom-frontend .cf-single-place-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #334155;
}

body.custom-frontend .cf-single-place-content p {
	margin: 0 0 1.25rem;
}

body.custom-frontend .cf-single-place-content p:last-child {
	margin-bottom: 0;
}

body.custom-frontend .cf-single-place-photos-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 0.625rem;
	margin-top: 0.25rem;
}

body.custom-frontend .cf-single-place-photos-grid .geodir-post-images,
body.custom-frontend .cf-single-place-photos-inner {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 0.625rem;
}

body.custom-frontend .cf-single-place-photos-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	aspect-ratio: 1;
}

body.custom-frontend .cf-single-place-photos-grid img:first-child {
	grid-column: 1;
	grid-row: 1 / -1;
	aspect-ratio: auto;
	min-height: 180px;
	border-radius: 10px;
}

/* Full-width map section (below two-column layout, per mockup) */
body.custom-frontend .cf-single-place-map-full {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid #e2e8f0;
}

body.custom-frontend .cf-single-place-similar {
	margin-top: 3rem;
	padding-top: 2.5rem;
	border-top: 1px solid #e2e8f0;
}

body.custom-frontend .cf-single-place-similar .cf-single-place-section-title {
	margin-bottom: 1.5rem;
}

body.custom-frontend .cf-single-place-map-wrap {
	margin-top: 0.5rem;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.custom-frontend .cf-single-place-map-wrap .geodir-map-container,
body.custom-frontend .cf-single-place-map-wrap iframe {
	border-radius: 14px;
	min-height: 360px;
}

body.custom-frontend .cf-single-place-map-container {
	margin-top: 0.5rem;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.custom-frontend .cf-single-place-map-container .geodir-map-container,
body.custom-frontend .cf-single-place-map-container iframe,
body.custom-frontend .cf-single-place-map-container .geodir-map-wrap {
	border-radius: 14px;
	min-height: 400px;
	width: 100%;
}

/* Similar places – mockup layout: image top, title (non-bold), bold lead, truncated excerpt, date */
body.custom-frontend .cf-single-place-similar-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

body.custom-frontend .cf-similar-card {
	margin: 0;
	padding: 0;
}

body.custom-frontend .cf-similar-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.custom-frontend .cf-similar-card-link:hover {
	transform: translateY(-4px);
	border-color: #cbd5e1;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

body.custom-frontend .cf-similar-card-image-wrap {
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
	overflow: hidden;
}

body.custom-frontend .cf-similar-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

body.custom-frontend .cf-similar-card-link:hover .cf-similar-card-image {
	transform: scale(1.05);
}

body.custom-frontend .cf-similar-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
}

body.custom-frontend .cf-similar-card-body {
	padding: 1.25rem 1.25rem 1.5rem;
}

body.custom-frontend .cf-similar-card-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	color: #0f172a;
}

body.custom-frontend .cf-similar-card-link:hover .cf-similar-card-title {
	color: #3993d5;
}

body.custom-frontend .cf-similar-card-lead {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
	color: #334155;
}

body.custom-frontend .cf-similar-card-excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #64748b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.custom-frontend .cf-similar-card-date {
	display: block;
	font-size: 0.8125rem;
	color: #64748b;
}

@media (max-width: 768px) {
	body.custom-frontend .cf-single-place-similar-inner {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

/* Sidebar: Details + Review */
body.custom-frontend .cf-single-place-sidebar {
	position: sticky;
	top: 88px;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

@media (max-width: 992px) {
	body.custom-frontend .cf-single-place-sidebar {
		position: relative;
		top: 0;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1.25rem;
	}
	body.custom-frontend .cf-single-place-details,
	body.custom-frontend .cf-single-place-reviews {
		flex: 1 1 280px;
		min-width: 0;
	}
}

body.custom-frontend .cf-single-place-sidebar-title {
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.02em;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #3993d5;
	display: inline-block;
}

body.custom-frontend .cf-single-place-details {
	padding: 1.5rem 1.5rem 1.75rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

body.custom-frontend .cf-single-place-details-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

body.custom-frontend .cf-single-place-detail-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid #f1f5f9;
}

body.custom-frontend .cf-single-place-detail-item:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

body.custom-frontend .cf-single-place-detail-item:first-of-type {
	padding-top: 0;
}

body.custom-frontend .cf-single-place-detail-label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
}

body.custom-frontend .cf-single-place-detail-value {
	font-size: 0.9375rem;
	color: #334155;
	line-height: 1.45;
}

body.custom-frontend .cf-single-place-detail-link {
	color: #3993d5;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.custom-frontend .cf-single-place-detail-link:hover {
	color: #2d7ab8;
	text-decoration: underline;
}

body.custom-frontend .cf-single-place-detail-meta {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e2e8f0;
	font-size: 0.875rem;
	color: #64748b;
	line-height: 1.4;
}

/* Add Listing – logged-out hero */
body.custom-frontend .cf-add-listing-main {
	background: #ffffff;
}
body.custom-frontend .cf-add-listing-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 4rem 1.5rem 5rem;
}
body.custom-frontend .cf-add-listing-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 3rem;
	align-items: center;
}
body.custom-frontend .cf-add-listing-hero-media {
	border-radius: 16px;
	overflow: hidden;
}
body.custom-frontend .cf-add-listing-hero-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: cover;
}
body.custom-frontend .cf-add-listing-hero-content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
body.custom-frontend .cf-add-listing-title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
body.custom-frontend .cf-add-listing-lead {
	margin: 0;
	color: #64748b;
	font-size: 1rem;
	line-height: 1.6;
}
body.custom-frontend .cf-add-listing-actions {
	margin-top: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}
body.custom-frontend .cf-add-listing-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s ease, transform 0.1s ease;
	border: none;
	cursor: pointer;
	min-width: 140px;
}
body.custom-frontend .cf-add-listing-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}
body.custom-frontend .cf-add-listing-btn--login {
	background: #44ace5;
	color: #ffffff;
}
body.custom-frontend .cf-add-listing-btn--register {
	background: #ffffff;
	color: #44ace5;
	border: 2px solid #44ace5;
}

@media (max-width: 900px) {
	body.custom-frontend .cf-add-listing-inner {
		padding: 3rem 1.25rem 4rem;
	}
	body.custom-frontend .cf-add-listing-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}
	body.custom-frontend .cf-add-listing-hero-media {
		order: -1;
	}
}

body.custom-frontend .cf-single-place-reviews {
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

body.custom-frontend .cf-single-place-main .cf-single-place-reviews {
	padding: 0;
}

body.custom-frontend .cf-single-place-sidebar .cf-single-place-reviews {
	padding: 1.5rem 1.5rem 1.75rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

body.custom-frontend .cf-single-place-reviews input[type="text"],
body.custom-frontend .cf-single-place-reviews input[type="email"],
body.custom-frontend .cf-single-place-reviews textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 0.9375rem;
	margin-bottom: 0.75rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.custom-frontend .cf-single-place-reviews textarea {
	min-height: 4.5rem;
	resize: vertical;
}

body.custom-frontend .cf-single-place-reviews input:focus,
body.custom-frontend .cf-single-place-reviews textarea:focus {
	outline: none;
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.12);
}

body.custom-frontend .cf-single-place-reviews .btn-primary,
body.custom-frontend .cf-single-place-reviews input[type="submit"] {
	display: block;
	width: 100%;
	margin-top: 0.25rem;
	background: #3993d5;
	color: #fff;
	border: none;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

body.custom-frontend .cf-single-place-reviews .btn-primary:hover,
body.custom-frontend .cf-single-place-reviews input[type="submit"]:hover {
	background: #2d7ab8;
}

body.custom-frontend .cf-single-place-tab-content {
	margin-top: 1rem;
}

body.custom-frontend .cf-single-place-tab-content > *:first-child {
	margin-top: 0;
}

body.custom-frontend .cf-single-place-review-form {
	margin-top: 1rem;
}

/* Claim listing button section in single business sidebar */
body.custom-frontend .cf-single-place-claim {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
}

body.custom-frontend .cf-single-place-claim-btn .geodir-post-claim {
	margin: 0;
}

body.custom-frontend .cf-single-place-claim-btn .geodir-post-claim a.btn,
body.custom-frontend .cf-single-place-claim-btn .geodir-post-claim .btn {
	width: 100%;
	justify-content: center;
	font-weight: 600;
	border-radius: 999px;
}

body.custom-frontend .cf-claim-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.4rem;
	border-radius: 999px;
	background: #3993d5;
	color: #fff;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(57, 147, 213, 0.28);
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.custom-frontend .cf-claim-login-btn:hover {
	background: #2d7ab8;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(57, 147, 213, 0.35);
}

body.custom-frontend .cf-single-place-claim-btn .cf-claim-login-btn {
	width: 100%;
}

/* Hide GeoDirectory tab navigation on single business pages - we show all content sequentially */
body.custom-frontend .cf-single-place .geodir-tabs,
body.custom-frontend .cf-single-place .geodir-tab-head,
body.custom-frontend .cf-single-place .geodir-single-tabs-container,
body.custom-frontend .cf-single-place #gd-tabs,
body.custom-frontend .cf-single-place #gd-single-tabs,
body.custom-frontend .cf-single-place .nav-tabs[role="tablist"] {
	display: none !important;
}

/* Show all tab content panels on single business pages */
body.custom-frontend .cf-single-place .tab-content,
body.custom-frontend .cf-single-place .tab-pane {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Blog single – table of contents */
body.custom-frontend .cf-blog-single-toc {
	margin-top: 1.75rem;
	margin-bottom: 0;
	padding: 1.5rem 1.5rem 1.25rem;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
}
body.custom-frontend .cf-blog-single-toc-title {
	margin: 0 0 0.85rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: #111827;
}
body.custom-frontend .cf-blog-single-toc-list {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 0.95rem;
	color: #374151;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
body.custom-frontend .cf-blog-single-toc-item {
	margin: 0;
}
body.custom-frontend .cf-blog-single-toc-link {
	color: #2563eb;
	text-decoration: none;
}
body.custom-frontend .cf-blog-single-toc-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

/* Blog single – newsletter section (after TOC, same card style) */
body.custom-frontend .cf-blog-single-newsletter {
	margin-top: 1.75rem;
	margin-bottom: 0;
	padding: 1.5rem 1.5rem 1.5rem;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
}
body.custom-frontend .cf-blog-single-newsletter-inner {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}
body.custom-frontend .cf-blog-single-newsletter-copy {
	flex: 1 1 220px;
}
body.custom-frontend .cf-blog-single-newsletter .cf-blog-single-newsletter-title {
	margin: 0 0 0.85rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: #111827;
}
body.custom-frontend .cf-blog-single-newsletter-text {
	margin: 0;
	font-size: 0.98rem;
	color: #4b5563;
}
body.custom-frontend .cf-blog-single-newsletter-form-wrap {
	flex: 1 1 260px;
}
body.custom-frontend .cf-blog-single-newsletter-message {
	margin-bottom: 0.9rem;
	border-radius: 10px;
	padding: 0.75rem 0.9rem;
	font-size: 0.93rem;
}
body.custom-frontend .cf-blog-single-newsletter-message--success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
}
body.custom-frontend .cf-blog-single-newsletter-message--info {
	background: #dbeafe;
	color: #1d4ed8;
	border: 1px solid #93c5fd;
}
body.custom-frontend .cf-blog-single-newsletter-message--error {
	background: #fee2e2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}
body.custom-frontend .cf-blog-single-newsletter-form {
	margin: 0;
}
body.custom-frontend .cf-blog-single-newsletter-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: #374151;
}
body.custom-frontend .cf-blog-single-newsletter-fields {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.75rem;
	align-items: stretch;
}
/* Input first, then button stacked */
body.custom-frontend .cf-blog-single-newsletter-input {
	order: 1;
	width: 100%;
	min-width: 0;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	font-size: 0.95rem;
	color: #111827;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.custom-frontend .cf-blog-single-newsletter-input::placeholder {
	color: #6b7280;
}
body.custom-frontend .cf-blog-single-newsletter-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
body.custom-frontend .cf-blog-single-newsletter-submit {
	order: 2;
	width: 100%;
	padding: 0.7rem 1.3rem;
	border-radius: 10px;
	border: none;
	background: #2563eb;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}
body.custom-frontend .cf-blog-single-newsletter-submit:hover {
	background: #1d4ed8;
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
	transform: translateY(-1px);
}
body.custom-frontend .cf-blog-single-newsletter-footnote {
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
	color: #6b7280;
}
@media (max-width: 640px) {
	body.custom-frontend .cf-blog-single-newsletter-inner {
		align-items: flex-start;
	}
}

/* ----- Blog single: author card (under the Subscribe card) ----- */
/* Matches the Table of contents / Subscribe cards in the same sidebar. */
body.custom-frontend .cf-blog-single-author {
	margin-top: 1.75rem;
	margin-bottom: 0;
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
}
body.custom-frontend .cf-blog-single-author-title {
	margin: 0 0 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #e5e7eb;
	font-size: 1.1rem;
	font-weight: 600;
	color: #111827;
}
body.custom-frontend .cf-blog-single-author-id {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
body.custom-frontend .cf-blog-single-author-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
}
body.custom-frontend .cf-blog-single-author-desig {
	margin-top: 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #2563eb;
}
body.custom-frontend .cf-blog-single-author-bio {
	margin: 1rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #eef1f5;
	font-size: 0.93rem;
	line-height: 1.65;
	color: #4b5563;
}
body.custom-frontend .cf-blog-single-author-link {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}
body.custom-frontend .cf-blog-single-author-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

/* ----- Single post (blog) ----- */
body.custom-frontend .cf-single-inner {
	max-width: 780px;
	margin: 0 auto;
	padding: 2rem 1.5rem 3rem;
}

body.custom-frontend .cf-single-breadcrumb {
	font-size: 0.8125rem;
	color: #6b7280;
	margin-bottom: 1.5rem;
	letter-spacing: 0.02em;
}

body.custom-frontend .cf-single-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.custom-frontend .cf-single-breadcrumb a:hover {
	color: #111827;
}

body.custom-frontend .cf-single-breadcrumb-sep {
	margin: 0 0.35rem;
}

body.custom-frontend .cf-single-breadcrumb-current {
	color: #111827;
	font-weight: 500;
}

body.custom-frontend .cf-single-featured {
	margin: 0 0 1.5rem;
	border-radius: 12px;
	overflow: hidden;
	background: #f9fafb;
}

body.custom-frontend .cf-single-featured-img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

body.custom-frontend .cf-single-header {
	margin-bottom: 1.75rem;
}

body.custom-frontend .cf-single-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
	color: #111827;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

body.custom-frontend .cf-single-meta {
	font-size: 0.9375rem;
	color: #6b7280;
}

body.custom-frontend .cf-single-meta a {
	color: #3993d5;
	text-decoration: none;
}

body.custom-frontend .cf-single-meta a:hover {
	text-decoration: underline;
}

body.custom-frontend .cf-single-meta-sep {
	margin: 0 0.35rem;
	color: #d1d5db;
}

body.custom-frontend .cf-single-content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #374151;
}

body.custom-frontend .cf-single-content p {
	margin: 0 0 1.25rem;
}

body.custom-frontend .cf-single-content p:last-child {
	margin-bottom: 0;
}

body.custom-frontend .cf-single-content h2,
body.custom-frontend .cf-single-content h3,
body.custom-frontend .cf-single-content h4 {
	margin: 2rem 0 0.75rem;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
}

body.custom-frontend .cf-single-content h2 { font-size: 1.5rem; }
body.custom-frontend .cf-single-content h3 { font-size: 1.25rem; }
body.custom-frontend .cf-single-content h4 { font-size: 1.125rem; }

body.custom-frontend .cf-single-content ul,
body.custom-frontend .cf-single-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
}

body.custom-frontend .cf-single-content li {
	margin-bottom: 0.35rem;
}

body.custom-frontend .cf-single-content a {
	color: #3993d5;
	text-decoration: none;
}

body.custom-frontend .cf-single-content a:hover {
	text-decoration: underline;
}

body.custom-frontend .cf-single-content blockquote {
	margin: 1.5rem 0;
	padding: 0 0 0 1.25rem;
	border-left: 4px solid #e5e7eb;
	color: #6b7280;
	font-style: italic;
}

body.custom-frontend .cf-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

body.custom-frontend .cf-single-pages {
	margin: 2rem 0 0;
}

body.custom-frontend .cf-single-pages-title {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
}

body.custom-frontend .cf-single-pages-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.custom-frontend .cf-single-pages-list a {
	color: #3993d5;
	text-decoration: none;
	font-weight: 500;
}

body.custom-frontend .cf-single-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #f0f0f0;
}

body.custom-frontend .cf-single-back {
	display: inline-flex;
	align-items: center;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #3993d5;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.custom-frontend .cf-single-back:hover {
	color: #2d7ab8;
	text-decoration: none;
}

/* ----- Add Listing Page - Button Styles (remade) ----- */
/* Base Add Listing buttons */
body.custom-frontend .geodir-add-listing .btn,
body.custom-frontend .geodir-add-listing .geodir_button,
body.custom-frontend .geodir-add-listing a.btn,
body.custom-frontend .geodir-add-listing button.btn,
body.custom-frontend .geodir-add-listing input[type="submit"].btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	margin-top: 1rem;
	margin-right: 0.75rem;
	padding: 0.65rem 1.5rem;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: 999px;
	text-decoration: none !important;
	border-width: 2px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

/* (Free plan restrictions temporarily disabled – map & address fields always visible) */

/* Primary buttons (Submit, main actions, etc.) */
body.custom-frontend .geodir-add-listing .btn-primary,
body.custom-frontend .geodir-add-listing .geodir_button.btn-primary,
body.custom-frontend .geodir-add-listing button.btn-primary,
body.custom-frontend .geodir-add-listing input[type="submit"].btn-primary,
body.custom-frontend .geodir-add-listing .geodir_button:not(.btn-outline-primary) {
	background: #3993d5;
	color: #fff !important;
	border-color: #3993d5;
	box-shadow: 0 4px 12px rgba(57, 147, 213, 0.25);
	border-radius: 999px;
}

body.custom-frontend .geodir-add-listing .btn-primary:hover,
body.custom-frontend .geodir-add-listing .geodir_button.btn-primary:hover,
body.custom-frontend .geodir-add-listing button.btn-primary:hover,
body.custom-frontend .geodir-add-listing input[type="submit"].btn-primary:hover,
body.custom-frontend .geodir-add-listing .geodir_button:not(.btn-outline-primary):hover {
	background: #2d7ab8;
	border-color: #2d7ab8;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(57, 147, 213, 0.3);
}

/* Secondary buttons – used for Login / Register on Add Listing */
body.custom-frontend .geodir-add-listing .btn-outline-primary,
body.custom-frontend .geodir-add-listing .geodir_preview_button.btn-outline-primary,
body.custom-frontend .geodir-add-listing a.btn-outline-primary {
	background: #3993d5;
	color: #fff !important;
	border-color: #3993d5;
}

body.custom-frontend .geodir-add-listing .btn-outline-primary:hover,
body.custom-frontend .geodir-add-listing .geodir_preview_button.btn-outline-primary:hover,
body.custom-frontend .geodir-add-listing a.btn-outline-primary:hover {
	background: #2d7ab8;
	border-color: #2d7ab8;
	color: #fff !important;
	text-decoration: none !important;
}

/* Add Listing – free plan CTA below the form */
body.custom-frontend .directory-plan-cta {
	margin-top: 3rem;
	padding: 2.5rem 1.75rem 2.75rem;
	border-radius: 24px;
	background: linear-gradient(180deg, #f9fafb 0%, #eff6ff 40%, #e0f2fe 100%);
	border: 1px solid rgba(148, 163, 184, 0.28);
	width: 100%;
	max-width: none;
	box-shadow: 0 18px 60px rgba(15, 23, 42, 0.16);
	box-sizing: border-box;
}

body.custom-frontend .directory-plan-cta-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2.25rem;
}

body.custom-frontend .directory-plan-cta-eyebrow {
	margin: 0 0 0.4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0.9rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0f172a;
}

body.custom-frontend .directory-plan-cta-title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 1.9rem);
	font-weight: 650;
	color: #0f172a;
	letter-spacing: -0.03em;
}

body.custom-frontend .directory-plan-cta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
	align-items: stretch;
	max-width: 960px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	body.custom-frontend .directory-plan-cta-grid {
		grid-template-columns: 1fr;
	}
}

body.custom-frontend .directory-plan-card {
	position: relative;
	background: #ffffff;
	border-radius: 18px;
	padding: 1.75rem 1.6rem 1.8rem;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

body.custom-frontend .directory-plan-card--premium {
	background: radial-gradient(circle at top, rgba(59, 130, 246, 0.14), transparent 60%), #f9fafb;
	border-color: #bfdbfe;
	box-shadow: 0 16px 40px rgba(57, 147, 213, 0.32);
}

body.custom-frontend .directory-plan-card-pill {
	align-self: flex-start;
	padding: 0.2rem 0.85rem;
	border-radius: 999px;
	background: #2d7ab8;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.1rem;
}

body.custom-frontend .directory-plan-card-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 650;
	color: #0f172a;
}

body.custom-frontend .directory-plan-card-subtitle {
	margin: 0;
	font-size: 0.9rem;
	color: #4b5563;
}

body.custom-frontend .directory-plan-card-list {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
	font-size: 0.9rem;
	color: #374151;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

body.custom-frontend .directory-plan-card-list li {
	margin: 0;
}

/* Upgrade page shell */
body.custom-frontend .cf-plans-shell {
	max-width: 1200px;
	margin: 2.5rem auto 4rem;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

body.custom-frontend .directory-plan-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.4rem;
	border-radius: 999px;
	background: #3993d5;
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(57, 147, 213, 0.25);
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.custom-frontend .directory-plan-cta-btn:hover {
	background: #2d7ab8;
	box-shadow: 0 6px 16px rgba(57, 147, 213, 0.32);
	transform: translateY(-1px);
	color: #fff !important;
	text-decoration: none !important;
}

/* Small inline CTA on Add Listing page (above links to full Upgrade page) */
body.custom-frontend .directory-plan-inline-cta {
	margin-top: 1.75rem;
	padding: 0.9rem 1rem;
	border-radius: 999px;
	background: rgba(57, 147, 213, 0.06);
	border: 1px solid rgba(57, 147, 213, 0.18);
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

body.custom-frontend .directory-plan-inline-text {
	font-size: 0.9rem;
	color: #1f2937;
	font-weight: 500;
}

/* Add Listing – login/register links inside notices */
body.custom-frontend .geodir-add-listing .alert a,
body.custom-frontend .geodir-add-listing .gd-notification a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

body.custom-frontend .geodir-add-listing .alert a:hover,
body.custom-frontend .geodir-add-listing .gd-notification a:hover {
	color: #fff;
	text-decoration: none;
}

/* Home page – horizontal featured sliders ("Top Restaurants" style) */
.fp__hf-section {
	padding-top: 2.75rem;
	padding-bottom: 2.75rem;
}
.fp__hf-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}
.fp__hf-header-main {
	flex: 1 1 auto;
	text-align: center;
}
.fp__hf-title {
	margin: 0;
}
.fp__hf-subtitle {
	margin: 0.25rem 0 0;
	font-size: 0.95rem;
	color: #64748b;
	text-align: center;
}
.fp__hf-viewall {
	font-size: 0.9rem;
	font-weight: 600;
	color: #3993d5;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	white-space: nowrap;
	align-self: flex-end;
}
.fp__hf-viewall::after {
	content: '›';
	font-size: 1rem;
	line-height: 1;
}
.fp__hf-viewall:hover {
	color: #2d7ab8;
	text-decoration: underline;
}
.fp__hf-slider {
	position: relative;
	display: flex;
	align-items: stretch;
}
.fp__hf-viewport {
	overflow: hidden;
	border-radius: 20px;
	box-shadow: none;
	background: transparent;
	flex: 1 1 auto;
}
.fp__hf-track {
	display: flex;
	column-gap: 18px;
}
.fp__hf-card {
	position: relative;
	flex: 0 0 100%;
	min-height: 220px;
	color: #fff;
}
.fp__hf-card-link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	transform: translateY(0);
	box-shadow: none;
}
.fp__hf-card-img-wrap {
	position: relative;
	overflow: hidden;
}
.fp__hf-card-img {
	width: 100%;
	padding-bottom: 44%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.fp__hf-card-img-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.1) 55%, transparent 75%);
	pointer-events: none;
}
.fp__hf-card-img--placeholder {
	background-image: linear-gradient(135deg, #1e293b, #020617);
}
.fp__hf-card-body {
	position: absolute;
	left: 1.5rem;
	right: 1.5rem;
	bottom: 1.25rem;
	padding: 0;
}
.fp__hf-card-title {
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #ffffff;
}
.fp__hf-card-rating {
	margin-bottom: 0.35rem;
}
.fp__hf-card-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}
.fp__hf-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 500;
	background-color: rgba(15, 23, 42, 0.85);
	color: #e5e7eb;
}
.fp__hf-pill--muted {
	background-color: rgba(15, 23, 42, 0.5);
	color: #cbd5f5;
}
.fp__hf-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: #ffffff;
	color: #0f172a;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.fp__hf-arrow span {
	font-size: 1.25rem;
	line-height: 1;
}
.fp__hf-arrow:hover {
	background-color: #3993d5;
	color: #ffffff;
}
.fp__hf-prev {
	left: 1.1rem;
}
.fp__hf-next {
	right: 1.1rem;
}
.fp__hf-dots {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}
.fp__hf-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: none;
	padding: 0;
	background-color: rgba(148, 163, 184, 0.6);
	cursor: pointer;
	transition: background-color 0.2s ease, width 0.2s ease;
}
.fp__hf-dot.is-active {
	width: 18px;
	background-color: #3993d5;
}
.fp__hf-card-link:hover,
.fp__hf-card-link:focus-visible {
	outline: none;
}

@media (max-width: 900px) {
	.fp__hf-section {
		padding-top: 2.25rem;
		padding-bottom: 2.25rem;
	}
	.fp__hf-slider {
		display: block;
	}
	.fp__hf-viewport {
		box-shadow: none;
		border-radius: 16px;
		overflow: hidden;
	}
	.fp__hf-track {
		display: block;
		column-gap: 0;
		overflow: visible;
		scroll-snap-type: none;
		-webkit-overflow-scrolling: auto;
		padding: 0;
	}
	.fp__hf-arrow {
		display: none;
	}
	.fp__hf-card {
		flex: none;
		max-width: 100%;
		scroll-snap-align: none;
		display: none;
		margin: 0;
	}
	.fp__hf-card.is-active {
		display: block;
	}
	.fp__hf-card-link {
		box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
	}
	.fp__hf-card-body {
		left: 1.1rem;
		right: 1.1rem;
		bottom: 1rem;
	}
	.fp__hf-dots {
		display: flex;
	}
}

/* Home – Destinations nearby grid */
.fp__destinations {
	padding-top: 2.75rem;
	padding-bottom: 2.75rem;
}
.fp__destinations-title {
	margin-bottom: 1.5rem;
}
.fp__destinations-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}
.fp__destination-card {
	position: relative;
	display: block;
	min-height: 190px;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
	background: radial-gradient(circle at top, #0f172a, #020617);
	text-decoration: none;
	color: inherit;
}
.fp__destination-img {
	width: 100%;
	height: 100%;
	min-height: 190px;
	/* Fallback tint so a missing or dead image URL degrades to a neutral card
	   instead of rendering solid black under the label gradient. */
	background-color: #2f3d55;
	background-image: linear-gradient(135deg, #3b4a66 0%, #24304a 100%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.fp__destination-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.1) 55%, transparent 80%);
	pointer-events: none;
}
.fp__destination-label {
	position: absolute;
	left: 1.2rem;
	right: 1.2rem;
	bottom: 1.1rem;
}
.fp__destination-name {
	display: inline-block;
	font-size: 0.98rem;
	font-weight: 650;
	color: #ffffff;
	text-shadow: 0 1px 3px rgba(15, 23, 42, 0.65);
}
.fp__destinations-pages {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}
.fp__dest-page {
	min-width: 32px;
	height: 32px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #475569;
	font-size: 0.8rem;
	font-weight: 500;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.6rem;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.fp__dest-page--arrow {
	min-width: 28px;
}
.fp__dest-page.is-active {
	background: #3993d5;
	color: #ffffff;
	border-color: #3993d5;
}
.fp__dest-page:hover:not(.is-active):not(:disabled) {
	background: #f1f5f9;
	color: #111827;
	transform: translateY(-1px);
}
.fp__dest-page:disabled {
	opacity: 0.45;
	cursor: default;
}

@media (max-width: 1024px) {
	.fp__destinations-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 900px) {
	.fp__destinations-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.fp__destination-card,
	.fp__destination-img {
		min-height: 170px;
	}
}
@media (max-width: 640px) {
	.fp__destinations-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Search results – make listing grid 3 columns on desktop */
@media (min-width: 1024px) {
	.search .geodir_category_list_view.geodir-gridview.gridview_onehalf > li {
		width: 32%;
		margin-left: 2%;
	}
	.search .geodir_category_list_view.geodir-gridview.gridview_onehalf > li:nth-child(3n+1) {
		margin-left: 0;
	}
}


/* ---------------- Reseller / partner page ---------------- */
/* Inherits the site's fp__ tokens; only adds what the layout genuinely needs. */
body.custom-frontend .rs-lede {
	max-width: 60ch; margin: -1rem auto 2.25rem; text-align: center;
	color: #4b5563; font-size: 0.98rem; line-height: 1.6;
}
body.custom-frontend .rs-alt { background: #fafafa; }
body.custom-frontend .rs-narrow { max-width: 820px; }

/* Hero – same overlay treatment as the home "Discover Listings" band */
body.custom-frontend .rs-hero {
	position: relative; background-size: cover; background-position: center;
	padding: 4.5rem 1.5rem; color: #fff;
}
body.custom-frontend .rs-hero-overlay {
	position: absolute; inset: 0; background: rgba(15, 23, 42, 0.72); pointer-events: none;
}
body.custom-frontend .rs-hero-in { position: relative; z-index: 1; text-align: center; }
body.custom-frontend .rs-eyebrow {
	margin: 0 0 0.75rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: #7dd3fc;
}
body.custom-frontend .rs-hero-title {
	margin: 0 auto 1rem; max-width: 22ch; color: #fff; font-weight: 700;
	font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.18; letter-spacing: -0.02em;
}
body.custom-frontend .rs-hero-sub {
	margin: 0 auto 1.75rem; max-width: 62ch; color: #e2e8f0;
	font-size: 1.02rem; line-height: 1.65;
}
body.custom-frontend .rs-hero-actions {
	display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
body.custom-frontend .rs-hero .fp__btn-outline { border: 2px solid #fff; color: #fff; }
body.custom-frontend .rs-hero .fp__btn-outline:hover { background: #fff; color: #111827; }
body.custom-frontend .rs-stats {
	list-style: none; margin: 2.5rem auto 0; padding: 1.5rem 0 0; max-width: 700px;
	display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center;
	border-top: 1px solid rgba(255,255,255,0.22);
}
body.custom-frontend .rs-stats li { display: flex; flex-direction: column; }
body.custom-frontend .rs-stats strong { font-size: 1.5rem; font-weight: 700; color: #fff; }
body.custom-frontend .rs-stats span { font-size: 0.84rem; color: #cbd5e1; }

/* Cards – same rounded/bordered language as listing cards */
body.custom-frontend .rs-grid { display: grid; gap: 1.25rem; }
body.custom-frontend .rs-grid-3 { grid-template-columns: repeat(3, 1fr); }
body.custom-frontend .rs-grid-4 { grid-template-columns: repeat(4, 1fr); }
body.custom-frontend .rs-card {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.5rem;
	box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
body.custom-frontend .rs-card h3 {
	margin: 0 0 0.45rem; font-size: 1.02rem; font-weight: 600; color: #111827;
}
body.custom-frontend .rs-card p { margin: 0; color: #4b5563; font-size: 0.94rem; line-height: 1.6; }
body.custom-frontend .rs-card-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 12px; margin-bottom: 0.9rem;
	background: #eaf4fc; color: #3993d5; font-size: 1.05rem;
}
body.custom-frontend .rs-steps { list-style: none; margin: 0; padding: 0; }
body.custom-frontend .rs-step-num {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
	border-radius: 50%; background: #3993d5; color: #fff; font-weight: 700; margin-bottom: 0.85rem;
}

/* Media cards (image on top, like listing cards) */
body.custom-frontend .rs-media-card {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(15,23,42,0.04); display: flex; flex-direction: column;
}
body.custom-frontend .rs-media-img {
	display: block; width: 100%; aspect-ratio: 16 / 9;
	background-size: cover; background-position: center; background-color: #f1f5f9;
}
body.custom-frontend .rs-media-body { padding: 1.25rem 1.4rem 1.5rem; }
body.custom-frontend .rs-media-body h3 {
	margin: 0 0 0.45rem; font-size: 1.05rem; font-weight: 600; color: #111827;
}
body.custom-frontend .rs-media-body p { margin: 0; color: #4b5563; font-size: 0.94rem; line-height: 1.6; }

/* Split section (text + image) */
body.custom-frontend .rs-split {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center;
}
body.custom-frontend .rs-h2-left {
	margin: 0 0 1.25rem; font-size: clamp(1.35rem, 3vw, 1.6rem); font-weight: 600;
	color: #111827; letter-spacing: -0.02em;
}
body.custom-frontend .rs-split-img img {
	width: 100%; height: auto; display: block; border-radius: 14px;
}
body.custom-frontend .rs-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
body.custom-frontend .rs-checks li {
	position: relative; padding-left: 2rem; color: #374151; font-size: 0.97rem; line-height: 1.55;
}
body.custom-frontend .rs-checks li::before {
	content: '✓'; position: absolute; left: 0; top: 0;
	width: 22px; height: 22px; border-radius: 50%; background: #eaf4fc; color: #3993d5;
	display: flex; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 700;
}
body.custom-frontend .rs-inline-cta { margin: 1.5rem 0 0; }
body.custom-frontend .rs-link { color: #3993d5; font-weight: 600; text-decoration: none; }
body.custom-frontend .rs-link:hover { text-decoration: underline; }

/* Destination strip */
body.custom-frontend .rs-places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
body.custom-frontend .rs-place {
	position: relative; display: block; border-radius: 14px; overflow: hidden;
	aspect-ratio: 4 / 3; background-size: cover; background-position: center;
}
body.custom-frontend .rs-place::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(15,23,42,0.85), rgba(15,23,42,0.05) 60%);
}
body.custom-frontend .rs-place-label {
	position: absolute; left: 0; right: 0; bottom: 0.85rem; text-align: center;
	color: #fff; font-weight: 600; font-size: 0.98rem;
}

@media (max-width: 900px) {
	body.custom-frontend .rs-grid-3,
	body.custom-frontend .rs-grid-4 { grid-template-columns: repeat(2, 1fr); }
	body.custom-frontend .rs-split { grid-template-columns: 1fr; gap: 1.75rem; }
	body.custom-frontend .rs-places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	body.custom-frontend .rs-grid-3,
	body.custom-frontend .rs-grid-4 { grid-template-columns: 1fr; }
	body.custom-frontend .rs-stats { gap: 1.5rem; }
}

/* ---------------- Domain registration: search bar + TLD grid ---------------- */
body.custom-frontend .dm-search {
	display: flex; align-items: stretch; gap: 0; max-width: 720px; margin: 0 auto;
	background: #fff; border-radius: 999px; padding: 0.4rem 0.4rem 0.4rem 1.25rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
}
body.custom-frontend .dm-search-input {
	flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent;
	font-size: 1.02rem; color: #111827; padding: 0.75rem 0.5rem 0.75rem 0;
}
body.custom-frontend .dm-search-input::placeholder { color: #9ca3af; }
body.custom-frontend .dm-search-tld {
	flex: 0 0 auto; border: 0; border-left: 1px solid #e5e7eb; background: transparent;
	font-size: 0.98rem; font-weight: 600; color: #3993d5; padding: 0 0.9rem; cursor: pointer; outline: none;
}
body.custom-frontend .dm-search-btn {
	flex: 0 0 auto; border: 0; border-radius: 999px; background: #3993d5; color: #fff;
	font-size: 0.95rem; font-weight: 600; padding: 0.8rem 1.6rem; cursor: pointer;
	transition: background 0.2s ease;
}
body.custom-frontend .dm-search-btn:hover { background: #2d7ab8; }
body.custom-frontend .dm-search-note {
	min-height: 1.4rem; margin: 0.85rem 0 0; font-size: 0.9rem; color: #e2e8f0; text-align: center;
}

/* Popular extension chips under the search */
body.custom-frontend .dm-chips {
	list-style: none; margin: 0.5rem 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
body.custom-frontend .dm-chip {
	border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.10); color: #fff;
	border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 600; cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
body.custom-frontend .dm-chip:hover { background: rgba(255,255,255,0.22); border-color: #fff; }

/* Extension grid */
body.custom-frontend .dm-tld-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
body.custom-frontend .dm-tld-card {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.25rem 1rem;
	text-align: center; box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
body.custom-frontend .dm-tld-nz { border-color: #bfdcf2; background: #f6fbff; }
body.custom-frontend .dm-tld-name {
	display: block; font-size: 1.25rem; font-weight: 700; color: #111827; letter-spacing: -0.02em;
}
body.custom-frontend .dm-tld-tag {
	display: block; margin-top: 0.3rem; font-size: 0.75rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280;
}
body.custom-frontend .dm-tld-nz .dm-tld-tag { color: #3993d5; }
body.custom-frontend .dm-tld-note {
	margin: 1.5rem 0 0; text-align: center; color: #6b7280; font-size: 0.93rem;
}

@media (max-width: 780px) {
	body.custom-frontend .dm-search {
		flex-wrap: wrap; border-radius: 18px; padding: 0.75rem; gap: 0.6rem;
	}
	body.custom-frontend .dm-search-input { flex: 1 1 100%; padding: 0.6rem 0.75rem; background: #f8fafc; border-radius: 10px; }
	body.custom-frontend .dm-search-tld { flex: 1 1 auto; border-left: 0; background: #f8fafc; border-radius: 10px; padding: 0.6rem; }
	body.custom-frontend .dm-search-btn { flex: 1 1 auto; }
	body.custom-frontend .dm-tld-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- Hosting page ---------------- */
/* Reuses the rs-* language from the domain page; only the plan table and the
   spec panel are new. The hero photo is set inline in page-hosting.php; the
   colour below covers it while it loads and if it ever goes missing. */
body.custom-frontend .hs-hero {
	background-color: #0f172a;
}
body.custom-frontend .hs-hero .rs-hero-overlay {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.68) 100%);
}

/* Plans */
/* THC reseller pricing table (WPMU "SUI" component, populated by JS) — themed to
   match the site's cards and blue accent. The widget ships inline styles
   (WPMU blue, white bg), so a few colour rules need !important to win. */
body.custom-frontend .hs-plans-table { margin: 0.5rem 0 0; }

/* Loading skeleton — shown until the widget renders (it loads client-side, a beat
   after the rest of the page). Hidden once .hs-plans-table gains .is-loaded. */
body.custom-frontend .hs-plans-skeleton {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
	gap: 1.5rem; max-width: 760px; margin: 0 auto;
}
body.custom-frontend .hs-plans-table.is-loaded .hs-plans-skeleton { display: none; }
body.custom-frontend .hs-plans-skeleton-card {
	flex: 1 1 300px; max-width: 360px;
	display: flex; flex-direction: column; align-items: center; gap: 1.15rem;
	border: 1px solid #e5e7eb; border-radius: 14px; padding: 2rem 1.75rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.custom-frontend .hs-sk {
	display: block; border-radius: 999px;
	background: linear-gradient(90deg, #eef2f6 25%, #e2e8f0 37%, #eef2f6 63%);
	background-size: 400% 100%; animation: hs-sk-shimmer 1.4s ease infinite;
}
body.custom-frontend .hs-sk-title { width: 62%; height: 20px; border-radius: 7px; margin-bottom: 0.6rem; }
body.custom-frontend .hs-sk-input { width: 100%; height: 44px; }
body.custom-frontend .hs-sk-btn { width: 100%; height: 46px; margin-top: auto; }
@keyframes hs-sk-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
	body.custom-frontend .hs-sk { animation: none; }
}
@media (max-width: 600px) {
	body.custom-frontend .hs-plans-skeleton-card { flex-basis: 100%; max-width: 100%; }
}
body.custom-frontend .hs-plans-table .thc-block-pricing,
body.custom-frontend .hs-plans-table .thc-block-pricing__items { width: 100%; }
body.custom-frontend .hs-plans-table .thc-block-pricing__items {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
	gap: 1.5rem; max-width: 760px; margin: 0 auto;
}
body.custom-frontend .hs-plans-table .thc-block-pricing__item {
	flex: 1 1 300px; max-width: 360px;
	display: flex; flex-direction: column; text-align: center;
	background: #fff !important; border: 1px solid #e5e7eb; border-radius: 14px;
	padding: 2rem 1.75rem; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.custom-frontend .hs-plans-table .thc-block-pricing__item_figure { margin-bottom: 1.35rem; }
body.custom-frontend .hs-plans-table .thc-block-pricing__item_data h2 {
	margin: 0; font-size: 1.2rem; font-weight: 700; color: #111827; letter-spacing: -0.01em;
}
/* Collapse the widget's empty description + empty feature list so there is no gap. */
body.custom-frontend .hs-plans-table .thc-sui-text:empty { display: none; }
body.custom-frontend .hs-plans-table .thc-block-pricing__item_cta-item--features:has( .thc-block-pricing-features_items:empty ) { display: none; }
body.custom-frontend .hs-plans-table .thc-block-pricing__item_cta {
	display: flex; flex-direction: column; gap: 0.85rem; margin-top: auto;
}

/* Plan / billing select — match the site's pill inputs, and drop the menu
   directly under the control (SUI floats it oddly by default). */
body.custom-frontend .hs-plans-table .sui-select { position: relative; }
body.custom-frontend .hs-plans-table .sui-select__control {
	min-height: 0 !important;
	border: 1px solid #d7dee6 !important; border-radius: 999px !important;
	background: #fff !important; padding: 0.6rem 1.2rem !important;
	font-size: 0.9375rem !important; color: #111827 !important;
	box-shadow: none !important; outline: none !important;
}
/* No blue active box: kill SUI's / the browser's focus ring on the select and
   any focused child in every state, and keep the control border neutral. */
body.custom-frontend .hs-plans-table .sui-select,
body.custom-frontend .hs-plans-table .sui-select *,
body.custom-frontend .hs-plans-table .sui-select :focus,
body.custom-frontend .hs-plans-table .sui-select :focus-within,
body.custom-frontend .hs-plans-table .sui-select :focus-visible,
body.custom-frontend .hs-plans-table .sui-select :active,
body.custom-frontend .hs-plans-table .sui-select__control,
body.custom-frontend .hs-plans-table .sui-select .sui-accessible-cta {
	box-shadow: none !important;
	outline: 0 !important;
	outline-style: none !important;
	-webkit-tap-highlight-color: transparent !important;
}
body.custom-frontend .hs-plans-table .sui-select__control,
body.custom-frontend .hs-plans-table .sui-select--open .sui-select__control,
body.custom-frontend .hs-plans-table .sui-select--focus .sui-select__control,
body.custom-frontend .hs-plans-table .sui-dropdown--open .sui-select__control,
body.custom-frontend .hs-plans-table .sui-select__control:hover {
	border-color: #d7dee6 !important;
}
/* SUI draws its blue focus ring with a pseudo-element on the control/button —
   the element's own border/outline are clean, so remove the pseudo ring too. */
body.custom-frontend .hs-plans-table .sui-select__control::before,
body.custom-frontend .hs-plans-table .sui-select__control::after,
body.custom-frontend .hs-plans-table .sui-select .sui-accessible-cta::before,
body.custom-frontend .hs-plans-table .sui-select .sui-accessible-cta::after {
	content: none !important; display: none !important;
	border: 0 !important; box-shadow: none !important; outline: none !important;
}
body.custom-frontend .hs-plans-table .sui-select__selected { color: #334155 !important; font-weight: 500; }
body.custom-frontend .hs-plans-table .sui-select__arrow .sui-icon { color: #64748b; }
/* Dropdown menu: anchor it right under the control, stretched to the exact
   control width, styled like the site. The dropdown wrapper stays in flow so the
   popover's containing block is .sui-select (full control width). The popover's
   own SUI chrome (bg/border/shadow/caret) is stripped so only our menu shows —
   that stray box/corner was the popover peeking behind the menu. */
body.custom-frontend .hs-plans-table .sui-select__dropdown { position: static !important; }
body.custom-frontend .hs-plans-table .sui-select__dropdown .sui-dropdown__popover {
	position: absolute !important;
	inset: auto !important;
	top: calc(100% + 4px) !important; left: 0 !important; right: 0 !important;
	width: auto !important; min-width: 0 !important; max-width: none !important;
	max-height: none !important; height: auto !important;
	padding: 0 !important; margin: 0 !important;
	background: transparent !important; border: 0 !important; box-shadow: none !important;
	transform: none !important; z-index: 60 !important;
}
body.custom-frontend .hs-plans-table .sui-select__dropdown .sui-dropdown__popover::before,
body.custom-frontend .hs-plans-table .sui-select__dropdown .sui-dropdown__popover::after {
	display: none !important;
}
body.custom-frontend .hs-plans-table .sui-dropdown__menu {
	background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14); overflow: hidden; padding: 0.3rem;
}
body.custom-frontend .hs-plans-table .sui-dropdown__menu-items { list-style: none; margin: 0; padding: 0; }
body.custom-frontend .hs-plans-table .sui-dropdown__menu-item {
	display: flex; justify-content: center; text-align: center;
	padding: 0.6rem 0.85rem !important; border-radius: 999px; color: #334155 !important;
	font-size: 0.9rem !important; font-weight: 500; cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
body.custom-frontend .hs-plans-table .sui-dropdown__menu-item > span { color: inherit !important; }
body.custom-frontend .hs-plans-table .sui-dropdown__menu-item:hover,
body.custom-frontend .hs-plans-table .sui-dropdown__menu-item:focus,
body.custom-frontend .hs-plans-table .sui-dropdown__menu-item[aria-selected="true"] {
	background: #eaf4fc !important; color: #1d6fb0 !important;
}

/* "Order Now" button — match the site's pill primary button exactly. */
body.custom-frontend .hs-plans-table .sui-button--primary-blue {
	background-color: #3993d5 !important; color: #fff !important;
	border: 2px solid #3993d5 !important; border-radius: 999px !important;
	padding: 0.65rem 1.5rem !important; font-size: 0.9375rem !important; font-weight: 600 !important;
	box-shadow: none !important; transition: background 0.2s ease, border-color 0.2s ease !important;
}
body.custom-frontend .hs-plans-table .sui-button--primary-blue:hover {
	background-color: #2d7ab8 !important; border-color: #2d7ab8 !important;
}
@media (max-width: 600px) {
	body.custom-frontend .hs-plans-table .thc-block-pricing__item { flex-basis: 100%; max-width: 100%; }
}
body.custom-frontend .hs-plans-note {
	margin: 1.75rem 0 0; text-align: center; color: #6b7280; font-size: 0.93rem;
}

/* Spec panel (sits where the domain page puts a photo) */
body.custom-frontend .hs-specs {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.75rem 1.6rem;
	box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
body.custom-frontend .hs-specs-title {
	margin: 0 0 1.1rem; font-size: 1.02rem; font-weight: 600; color: #111827;
}
body.custom-frontend .hs-specs-list { margin: 0; display: grid; gap: 0.75rem; }
body.custom-frontend .hs-specs-list > div {
	display: flex; justify-content: space-between; gap: 1rem;
	padding-bottom: 0.75rem; border-bottom: 1px solid #f3f4f6;
}
body.custom-frontend .hs-specs-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
body.custom-frontend .hs-specs-list dt { margin: 0; color: #6b7280; font-size: 0.9rem; }
body.custom-frontend .hs-specs-list dd { margin: 0; color: #111827; font-size: 0.9rem; font-weight: 600; text-align: right; }

/* CTA without an image */
body.custom-frontend .hs-cta-in { grid-template-columns: 1fr; max-width: 760px; }

/* ---------------- Contact page ---------------- */
/* Inherits the site's fp__ / rs-* tokens; adds the form + info panel styling. */

/* Hero photo with a brand-tinted gradient behind it (fallback + colour wash). */
body.custom-frontend .ct-hero {
	background-color: #1f4e79;
	background-image: linear-gradient(135deg, #1f4e79 0%, #3993d5 100%);
	background-size: cover;
	background-position: center;
}
/* Darker gradient overlay – image reads at the top, text stays legible lower down. */
body.custom-frontend .ct-hero .rs-hero-overlay {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.78) 100%);
}

/* Split: form gets a touch more room than the info panel. */
body.custom-frontend .ct-split { grid-template-columns: 1.35fr 1fr; align-items: start; }
body.custom-frontend .ct-form-intro {
	margin: 0 0 1.5rem; color: #4b5563; font-size: 0.97rem; line-height: 1.6;
}

/* Fields */
body.custom-frontend .ct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
body.custom-frontend .ct-field { margin: 0 0 1.1rem; display: flex; flex-direction: column; }
body.custom-frontend .ct-field-row .ct-field { margin-bottom: 0; }
body.custom-frontend .ct-label {
	margin-bottom: 0.4rem; font-size: 0.86rem; font-weight: 600; color: #374151;
}
body.custom-frontend .ct-req { color: #3993d5; }
body.custom-frontend .ct-input {
	width: 100%; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: 10px;
	padding: 0.7rem 0.85rem; font-size: 0.97rem; color: #111827; background: #fff;
	font-family: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.custom-frontend .ct-input::placeholder { color: #9ca3af; }
body.custom-frontend .ct-input:focus {
	outline: none; border-color: #3993d5; box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.15);
}
body.custom-frontend .ct-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
body.custom-frontend .ct-submit { margin-top: 0.4rem; }

/* Honeypot – visually and semantically hidden, still submitted for bots. */
body.custom-frontend .ct-hp {
	position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* Notices */
body.custom-frontend .ct-notice {
	margin: 0 0 1.4rem; padding: 0.9rem 1.1rem; border-radius: 10px;
	font-size: 0.94rem; line-height: 1.55; border: 1px solid transparent;
}
body.custom-frontend .ct-notice a { font-weight: 600; color: inherit; text-decoration: underline; }
body.custom-frontend .ct-notice-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
body.custom-frontend .ct-notice-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Info panel */
body.custom-frontend .ct-info {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.75rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.custom-frontend .ct-info-title {
	margin: 0 0 1.25rem; font-size: 1.1rem; font-weight: 600; color: #111827;
}
body.custom-frontend .ct-info-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.15rem; }
body.custom-frontend .ct-info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
body.custom-frontend .ct-info-icon {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 12px; background: #eaf4fc; color: #3993d5; font-size: 1rem;
}
body.custom-frontend .ct-info-body { display: flex; flex-direction: column; gap: 0.15rem; }
body.custom-frontend .ct-info-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6b7280; }
body.custom-frontend .ct-info-link { color: #3993d5; font-weight: 600; text-decoration: none; word-break: break-word; }
body.custom-frontend .ct-info-link:hover { text-decoration: underline; }
body.custom-frontend .ct-info-text { color: #374151; font-size: 0.95rem; line-height: 1.5; }
body.custom-frontend .ct-info-links { border-top: 1px solid #f3f4f6; padding-top: 1.35rem; }
body.custom-frontend .ct-info-links-title { margin: 0 0 0.8rem; font-size: 0.95rem; font-weight: 600; color: #111827; }
body.custom-frontend .ct-info-cta { display: block; margin-bottom: 0.55rem; }

@media (max-width: 900px) {
	body.custom-frontend .ct-split { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 600px) {
	body.custom-frontend .ct-field-row { grid-template-columns: 1fr; gap: 0; }
	body.custom-frontend .ct-field-row .ct-field { margin-bottom: 1.1rem; }
}
