/* ==========================================================================
   Jewellink — City × Category Landing Pages
   File: wp-content/themes/my-listing-child/assets/css/jl-landing-page.css
   ========================================================================== */

:root {
	--jl-lp-teal:          #2b7a78;
	--jl-lp-teal-dark:     #246a68;
	--jl-lp-teal-deeper:   #1e5a58;
	--jl-lp-teal-light:    #e8f4f4;
	--jl-lp-text:          #111827;
	--jl-lp-muted:         #5a6070;
	--jl-lp-border:        #e4e8ed;
	--jl-lp-bg:            #f7f8fa;
	--jl-lp-white:         #ffffff;
	--jl-lp-star:          #f5a623;
	--jl-lp-radius:        10px;
	--jl-lp-card-shadow:       0 2px 10px rgba(0,0,0,.07);
	--jl-lp-card-shadow-hover: 0 6px 24px rgba(0,0,0,.12);
}

.jl-lp *, .jl-lp *::before, .jl-lp *::after { box-sizing: border-box; }


/* ═══════════════════════════════════════════════════════════════════════════
   HERO — About Us style: light bg, dark text, featured image right
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__hero {
	background: #f7f8fa;
	border-bottom: 1px solid #edf0f5;
	padding: 52px 0 48px;
}

.jl-lp__hero-layout {
	display: flex;
	align-items: center;
	gap: 48px;
}
.jl-lp__hero-layout--has-image .jl-lp__hero-content {
	flex: 1 1 0;
	min-width: 0;
}
.jl-lp__hero-image {
	flex: 0 0 380px;
	max-width: 380px;
}
.jl-lp__hero-image img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.jl-lp__hero-title {
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--jl-lp-text);
	margin: 0 0 14px;
}
.jl-lp__hero-meta {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: var(--jl-lp-teal);
	background: var(--jl-lp-teal-light);
	border-radius: 999px;
	padding: 4px 12px;
	margin: 0 0 16px;
}
.jl-lp__hero-intro {
	font-size: 16px;
	line-height: 1.65;
	color: var(--jl-lp-muted);
	max-width: 600px;
	margin: 0;
}

.jl-lp__eyebrow-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--jl-lp-muted);
	margin: 0 0 16px;
}

.jl-lp__eyebrow-links a {
	color: var(--jl-lp-teal);
	text-decoration: none;
}

.jl-lp__eyebrow-links a:hover {
	text-decoration: underline;
}

.jl-lp__eyebrow-current {
	color: var(--jl-lp-teal);
}

.jl-lp__hero-citylink {
	margin: 18px 0 0;
}

.jl-lp__hero-citylink a {
	color: var(--jl-lp-teal);
	font-weight: 600;
	text-decoration: none;
}

.jl-lp__hero-citylink a:hover {
	text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BODY
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__body { padding-top: 32px; padding-bottom: 64px; }

.jl-lp--city .jl-lp__hero {
	padding: 40px 0 34px;
}

.jl-lp--city .jl-lp__hero-content {
	max-width: 760px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   TOOLBAR — sort + filter bar
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__toolbar {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--jl-lp-border);
}

.jl-lp__toolbar-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.jl-lp__toolbar-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.jl-lp__toolbar-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--jl-lp-muted);
	white-space: nowrap;
}

.jl-lp__toolbar-select {
	font-size: 13px;
	font-weight: 500;
	color: var(--jl-lp-text);
	background: var(--jl-lp-white);
	border: 1px solid var(--jl-lp-border);
	border-radius: 6px;
	padding: 7px 32px 7px 12px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a6070'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	transition: border-color .15s;
}
.jl-lp__toolbar-select:focus {
	outline: none;
	border-color: var(--jl-lp-teal);
	box-shadow: 0 0 0 3px rgba(43,122,120,.12);
}

.jl-lp__toolbar-clear {
	font-size: 13px;
	color: var(--jl-lp-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.jl-lp__toolbar-clear:hover { color: var(--jl-lp-teal); }

.jl-lp__toolbar-count {
	margin: 0 0 0 auto;
	font-size: 13px;
	color: var(--jl-lp-muted);
}


/* ═══════════════════════════════════════════════════════════════════════════
   CARD GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

/* ── Card shell ── */
.jl-lp__card {
	background: var(--jl-lp-white);
	border: 1px solid var(--jl-lp-border);
	border-radius: var(--jl-lp-radius);
	overflow: hidden;
	box-shadow: var(--jl-lp-card-shadow);
	transition: box-shadow .2s, transform .2s;
	display: flex;
	flex-direction: column;
}
.jl-lp__card:hover {
	box-shadow: var(--jl-lp-card-shadow-hover);
	transform: translateY(-2px);
}
.jl-lp__card--featured {
	border-color: var(--jl-lp-teal);
}

/* ── Card header: banner image + logo overlay (matches MyListing preview card) ── */
.jl-lp__card-header {
	display: block;
	position: relative;
	text-decoration: none;
	height: 120px;          /* banner height */
	flex-shrink: 0;
}

/* Banner image — full bleed background */
.jl-lp__card-banner {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: var(--jl-lp-bg);  /* fallback if no banner */
}
.jl-lp__card-banner--empty {
	/* Subtle teal gradient when no banner photo */
	background: linear-gradient(135deg, #d4eae9 0%, #eaf4f4 100%);
}

/* Dark overlay on hover to improve logo legibility */
.jl-lp__card-header::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0);
	transition: background .2s;
}
.jl-lp__card:hover .jl-lp__card-header::after {
	background: rgba(0,0,0,.08);
}

/* Logo — left-aligned, bottom of banner, circular with white border (MyListing style) */
.jl-lp__card-logo-wrap {
	position: absolute;
	bottom: -20px;          /* overlaps into the card body */
	left: 16px;
	z-index: 2;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid var(--jl-lp-white);
	background: var(--jl-lp-white);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.14);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.jl-lp__card-logo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.jl-lp__card-logo-placeholder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--jl-lp-teal-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--jl-lp-teal);
	text-transform: uppercase;
}

/* ── Card body (shifted right to clear logo overlap) ── */
.jl-lp__card-body {
	padding: 28px 16px 18px 78px; /* left padding clears the 52px logo + 16px offset + gap */
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.jl-lp__card-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}
.jl-lp__card-title a {
	color: var(--jl-lp-text);
	text-decoration: none;
}
.jl-lp__card-title a:hover { color: var(--jl-lp-teal); }

.jl-lp__card-address,
.jl-lp__card-phone {
	font-size: 12px;
	color: var(--jl-lp-muted);
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 5px;
}
.jl-lp__card-address svg,
.jl-lp__card-phone svg { flex-shrink: 0; margin-top: 1px; }
.jl-lp__card-phone a { color: var(--jl-lp-muted); text-decoration: none; }
.jl-lp__card-phone a:hover { color: var(--jl-lp-teal); }

/* Rating */
.jl-lp__card-rating {
	font-size: 12px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.jl-lp__stars { color: var(--jl-lp-star); letter-spacing: .5px; font-size: 13px; }
.jl-lp__rating-num { font-weight: 700; color: var(--jl-lp-text); }
.jl-lp__rating-count { color: var(--jl-lp-muted); }

/* Service chips */
.jl-lp__card-services {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
}
.jl-lp__card-services li {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
	background: var(--jl-lp-teal-light);
	color: var(--jl-lp-teal);
	border-radius: 4px;
	padding: 2px 7px;
}

.jl-lp__card-hours {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--jl-lp-muted);
}

/* Card CTA link */
.jl-lp__card-cta {
	margin-top: auto;
	padding-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--jl-lp-teal);
	text-decoration: none;
}
.jl-lp__card-cta:hover { text-decoration: underline; }

/* Empty */
.jl-lp__empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--jl-lp-muted);
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 20px 0 48px;
}
.jl-lp__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 6px;
	border: 1px solid var(--jl-lp-border);
	font-size: 14px;
	font-weight: 600;
	color: var(--jl-lp-text);
	text-decoration: none;
	background: var(--jl-lp-white);
	transition: background .15s, color .15s;
}
.jl-lp__pagination .page-numbers:hover,
.jl-lp__pagination .page-numbers.current {
	background: var(--jl-lp-teal);
	color: #fff;
	border-color: var(--jl-lp-teal);
}
.jl-lp__pagination .prev,
.jl-lp__pagination .next { width: auto; padding: 0 14px; }


/* ═══════════════════════════════════════════════════════════════════════════
   AREA GUIDE
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__area-guide {
	max-width: 760px;
	margin: 0 auto 56px;
}
.jl-lp__area-guide h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 18px;
	color: var(--jl-lp-text);
}
.jl-lp__area-guide-body {
	font-size: 15px;
	line-height: 1.75;
	color: var(--jl-lp-muted);
}
.jl-lp__area-guide-body p { margin: 0 0 16px; }


/* ═══════════════════════════════════════════════════════════════════════════
   FAQ — 2-column on desktop
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__faq {
	max-width: 1040px;
	margin: 0 auto 56px;
}
.jl-lp__faq h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 28px;
	color: var(--jl-lp-text);
}
.jl-lp__faq-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 48px;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--jl-lp-border);
}
.jl-lp__faq-item {
	border-bottom: 1px solid var(--jl-lp-border);
	padding: 22px 0;
}
.jl-lp__faq-item dt {
	font-size: 15px;
	font-weight: 700;
	color: var(--jl-lp-text);
	margin: 0 0 10px;
	line-height: 1.4;
}
.jl-lp__faq-item dd {
	font-size: 14px;
	line-height: 1.72;
	color: var(--jl-lp-muted);
	margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CTA BANNER — solid teal, white button (matches About Us page)
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__cta-banner {
	background-color: var(--jl-lp-teal);
	border-radius: 12px;
	overflow: hidden;
}
.jl-lp__cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 48px;
	flex-wrap: wrap;
}
.jl-lp__cta-text h2 {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
}
.jl-lp__cta-text p {
	font-size: 15px;
	color: rgba(255,255,255,.85);
	margin: 0;
	max-width: 500px;
}
.jl-lp__cta-btn {
	display: inline-block;
	background-color: #ffffff;
	color: var(--jl-lp-teal);
	font-weight: 700;
	font-size: 15px;
	padding: 14px 28px;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color .15s, transform .15s, box-shadow .15s;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.jl-lp__cta-btn:hover {
	background-color: #f0fafa;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0,0,0,.14);
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
	.jl-lp__hero-image { flex: 0 0 280px; max-width: 280px; }
	.jl-lp__hero-image img { height: 200px; }
}

@media (max-width: 768px) {
	.jl-lp__hero { padding: 36px 0 32px; }
	.jl-lp__hero-layout { flex-direction: column; align-items: flex-start; gap: 24px; }
	.jl-lp__hero-image { flex: none; max-width: 100%; width: 100%; }
	.jl-lp__hero-image img { height: 180px; width: 100%; }

	.jl-lp__toolbar-count { margin-left: 0; }

	.jl-lp__grid { grid-template-columns: 1fr 1fr; }

	.jl-lp__faq-list { grid-template-columns: 1fr; gap: 0; }

	.jl-lp__cta-inner { padding: 32px 24px; flex-direction: column; text-align: center; }
	.jl-lp__cta-text p { margin: 0 auto; }
}

@media (max-width: 480px) {
	.jl-lp__grid { grid-template-columns: 1fr; }
	.jl-lp__body { padding-top: 24px; padding-bottom: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG GUIDE LINK (Fix 3)
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__guide-link {
	margin: 0 0 48px;
	padding: 20px 24px;
	background: var(--jl-lp-teal-light);
	border-left: 4px solid var(--jl-lp-teal);
	border-radius: 0 8px 8px 0;
}
.jl-lp__guide-link-anchor {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--jl-lp-teal);
	text-decoration: none;
}
.jl-lp__guide-link-anchor:hover {
	text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED SERVICES (Fix 1e + Fix 5)
   ═══════════════════════════════════════════════════════════════════════════ */

.jl-lp__related {
	margin: 0 0 48px;
	padding: 32px 36px;
	background: var(--jl-lp-bg);
	border-radius: var(--jl-lp-radius);
	border: 1px solid var(--jl-lp-border);
}
.jl-lp__related-heading {
	font-size: 18px;
	font-weight: 700;
	color: var(--jl-lp-text);
	margin: 0 0 20px;
}
.jl-lp__related-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.jl-lp__related-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--jl-lp-teal);
	border: 1px solid var(--jl-lp-teal);
	border-radius: 6px;
	padding: 8px 16px;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.jl-lp__related-link:hover {
	background: var(--jl-lp-teal);
	color: #fff;
}

@media (max-width: 768px) {
	.jl-lp__related { padding: 24px 20px; }
}
