/* ==========================================================================
   MyLocalDental design system
   Tokens and components taken from the MyLocalDental HTML design.
   Loaded after ListingHive and HivePress, so it overrides them.
   ========================================================================== */

:root {
	--ld-ink: #1c2b2b;
	--ld-teal: #0d6e6e;
	--ld-teal-bright: #1a9090;
	--ld-teal-dark: #0d5050;
	--ld-mint: #e8f4f4;
	--ld-mint-2: #eef5f4;
	--ld-cream: #fafaf7;
	--ld-line: #d4e4e4;
	--ld-field: #bfd2d3;
	--ld-muted: #4a5f5f;
	--ld-gold: #c4922a;
	--ld-gold-ink: #91680f;
	--ld-gold-wash: #fdf6e9;
	--ld-white: #ffffff;
	--ld-radius: 14px;
	--ld-radius-sm: 9px;
	--ld-wrap: 1160px;
	--ld-gutter: 24px;
	--ld-font: Arial, Helvetica, sans-serif;
	--ld-font-ui: Inter, Arial, sans-serif;
	--ld-font-display: "DM Serif Display", Georgia, serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
	background: var(--ld-cream);
	color: var(--ld-ink);
	font-family: var(--ld-font);
	line-height: 1.55;
}

body,
button,
input,
select,
textarea {
	font-family: var(--ld-font);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--ld-ink);
	font-family: var(--ld-font);
	font-weight: 700;
	line-height: 1.2;
}

h2 {
	font-size: clamp(26px, 3vw, 36px);
}

a {
	color: var(--ld-teal);
}

a:hover {
	color: var(--ld-teal-dark);
}

:focus-visible {
	outline: 3px solid var(--ld-gold);
	outline-offset: 2px;
}

.ld-wrap {
	max-width: var(--ld-wrap);
	margin: 0 auto;
	padding: 0 var(--ld-gutter);
}

.ld-small {
	font-size: 12px;
}

.ld-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--ld-white);
	color: var(--ld-ink);
	padding: 10px 14px;
	border-radius: var(--ld-radius-sm);
}

.ld-skip:focus {
	left: 12px;
	top: 12px;
}

/* Buttons: the design's .btn, applied to WordPress and HivePress buttons too. */
.ld-button,
.button,
button[type="submit"],
input[type="submit"],
.wp-block-button__link {
	display: inline-block;
	border: 0;
	border-radius: var(--ld-radius-sm);
	background: var(--ld-teal);
	color: var(--ld-white);
	padding: 12px 19px;
	font-family: var(--ld-font);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.ld-button:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--ld-teal-dark);
	color: var(--ld-white);
}

.ld-button--secondary,
.button--secondary,
.is-style-outline .wp-block-button__link {
	background: var(--ld-mint);
	color: var(--ld-teal);
	border: 1px solid var(--ld-line);
}

.ld-button--secondary:hover,
.button--secondary:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--ld-white);
	color: var(--ld-teal);
}

/* Tag / eyebrow pill */
.ld-tag {
	display: inline-block;
	background: var(--ld-mint);
	color: var(--ld-teal);
	border-radius: 30px;
	font-size: 11px;
	padding: 5px 10px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
	border: 1px solid var(--ld-field);
	border-radius: 7px;
	padding: 12px;
	background: var(--ld-white);
	color: var(--ld-ink);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.ld-top {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ld-ink);
	color: var(--ld-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0;
	box-shadow: none;
}

/* ListingHive scrolls inside the page body, which already starts below the admin bar,
   so the sticky header needs no admin-bar offset. */

.ld-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 78px;
}

.ld-logo,
.ld-logo:hover {
	color: var(--ld-white);
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -1px;
	text-decoration: none;
	white-space: nowrap;
}

.ld-logo__accent {
	color: var(--ld-gold);
}

.ld-logo small {
	font-size: 11px;
	letter-spacing: 0;
}

.ld-logo img {
	max-height: 48px;
	width: auto;
}

.ld-nav__menu {
	display: flex;
	align-items: center;
	gap: 22px;
}

.ld-nav__list {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ld-nav__list li {
	margin: 0;
	position: relative;
}

.ld-nav__list a {
	color: var(--ld-white);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.ld-nav__list a:hover,
.ld-nav__list .current-menu-item > a {
	color: var(--ld-gold);
}

.ld-nav__list a.ld-button,
.ld-nav__list a.ld-button:hover {
	color: var(--ld-white);
}

/* Drop-downs (if a menu item has children) */
.ld-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius-sm);
	box-shadow: 0 12px 30px rgba(0, 28, 37, 0.15);
}

.ld-nav__list li:hover > .sub-menu,
.ld-nav__list li:focus-within > .sub-menu {
	display: block;
}

.ld-nav__list .sub-menu a {
	display: block;
	padding: 8px 16px;
	color: var(--ld-ink);
}

/* HivePress account area: sign in, "Add listing", notifications */
.ld-nav__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ld-nav__actions a:not(.button) {
	color: var(--ld-white);
	font-size: 14px;
	font-weight: 700;
}

.ld-nav__actions .hp-menu--site-header > ul > li > a {
	color: var(--ld-white);
}

.ld-menu-toggle {
	display: none;
	background: var(--ld-white);
	color: var(--ld-ink);
	border: 1px solid var(--ld-line);
	border-radius: 8px;
	padding: 8px 12px;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 850px) {
	.ld-menu-toggle {
		display: block;
	}

	.ld-nav {
		position: relative;
	}

	.ld-nav__menu {
		display: none;
		position: absolute;
		top: 78px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 20px var(--ld-gutter);
		background: var(--ld-ink);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.ld-nav__menu.is-open {
		display: flex;
	}

	.ld-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.ld-nav__list .sub-menu {
		display: block;
		position: static;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 6px 0 0 14px;
	}

	.ld-nav__list .sub-menu a {
		color: var(--ld-white);
	}

	.ld-nav__actions {
		flex-wrap: wrap;
	}
}

@media (max-width: 480px) {
	:root {
		--ld-gutter: 17px;
	}

	.ld-logo,
	.ld-logo:hover {
		font-size: 22px;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.ld-footer {
	background: var(--ld-ink);
	color: #d6e8e8;
	padding: 42px 0;
	margin-top: 0;
}

.ld-footer a {
	color: #b8e8e3;
	text-decoration: none;
}

.ld-footer a:hover {
	color: var(--ld-white);
	text-decoration: underline;
}

.ld-footer__cols {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.ld-footer__brand {
	max-width: 420px;
}

.ld-footer__heading {
	color: var(--ld-white);
	font-size: 16px;
	margin: 0 0 6px;
}

.ld-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ld-footer__list li {
	margin: 14px 0;
}

.ld-footer__rule {
	border: 0;
	border-top: 1px solid #47616c;
	margin: 25px 0;
}

/* ==========================================================================
   Design pages (Home, Locations, Pricing, Claim)
   ========================================================================== */

/* Full width: ListingHive wraps content in a narrow container. */
.ld-design-page .site-content {
	padding: 0;
}

.ld-design-page .site-content > .container {
	max-width: none;
	width: 100%;
	padding: 0;
}

.ld-page h1,
.ld-page h2,
.ld-page h3 {
	margin: 0 0 12px;
}

.ld-page .ld-tag + h1,
.ld-page .ld-tag + h2 {
	margin-top: 12px;
}

.ld-h2 {
	font-size: clamp(26px, 3vw, 36px);
}

.ld-h3 {
	font-size: 1.25rem;
}

.ld-muted {
	color: var(--ld-muted);
}

.ld-mini {
	font-size: 13px;
}

.ld-center {
	text-align: center;
}

.ld-narrow {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.ld-link,
a.ld-link {
	color: var(--ld-teal);
	font-weight: 700;
	text-decoration: none;
}

.ld-link:hover {
	text-decoration: underline;
}

.ld-button--block {
	display: block;
	width: 100%;
}

/* Sections */
.ld-section {
	padding: 68px 0;
}

.ld-section--tint {
	background: var(--ld-mint-2);
}

.ld-section__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 26px;
}

/* Hero */
.ld-hero {
	background: var(--ld-ink);
	color: var(--ld-white);
	padding: 80px 0 78px;
}

.ld-hero--center {
	text-align: center;
}

.ld-hero .ld-wrap {
	max-width: 900px;
}

.ld-eyebrow {
	font-family: var(--ld-font-ui);
	color: var(--ld-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.ld-page .ld-hero h1 {
	color: var(--ld-white);
	font-family: var(--ld-font-display);
	font-size: clamp(39px, 5.2vw, 65px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
	max-width: 750px;
	margin: 0 auto 20px;
}

.ld-hero h1 em {
	color: var(--ld-teal-bright);
	font-style: italic;
}

.ld-hero p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 17px;
	line-height: 1.75;
	max-width: 600px;
	margin: 0 auto 24px;
}

.ld-hero .ld-hero__note {
	font-size: 12px;
	margin: 12px auto 0;
}

/* Search bar */
.ld-search {
	display: flex;
	gap: 10px;
	background: var(--ld-white);
	padding: 12px;
	border-radius: 13px;
	max-width: 860px;
	margin: 32px auto 16px;
	text-align: left;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.ld-search input,
.ld-search select {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--ld-line);
	padding: 13px;
	border-radius: 7px;
	background: var(--ld-white);
	color: var(--ld-ink);
	margin: 0;
}

.ld-search .ld-button {
	white-space: nowrap;
}

/* Tiles */
.ld-grid {
	display: grid;
	gap: 16px;
}

.ld-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ld-grid--spaced {
	margin-top: 26px;
}

.ld-tile,
.ld-panel,
.ld-listing,
.ld-price,
.ld-step {
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 24px;
}

a.ld-tile {
	display: block;
	color: var(--ld-ink);
	text-decoration: none;
	transition: transform 0.2s, border-color 0.2s;
}

a.ld-tile:hover {
	border-color: var(--ld-gold);
	transform: translateY(-2px);
	color: var(--ld-ink);
}

.ld-tile strong {
	display: block;
	font-size: 16px;
	margin-top: 12px;
}

.ld-tile small {
	display: block;
	color: var(--ld-muted);
}

.ld-tile .ld-link {
	display: block;
	margin-top: 14px;
}

.ld-tile__icon {
	display: block;
	font-size: 34px;
	margin-bottom: 12px;
}

.ld-tile__icon + strong {
	margin-top: 0;
}

.ld-town-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ld-town-list li {
	margin: 9px 0;
}

/* Listing rows */
.ld-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ld-results > .ld-panel {
	grid-column: 1 / -1;
}

.ld-listing--basic {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	transition: transform 0.2s, border-color 0.2s;
}

.ld-listing--basic:hover {
	border-color: var(--ld-teal);
	transform: translateY(-2px);
}

.ld-listing--basic h3 {
	font-size: 17px;
	margin: 0;
}

.ld-listing--basic h3 a {
	color: var(--ld-ink);
	text-decoration: none;
}

.ld-listing--basic p {
	font-size: 12px;
	color: var(--ld-muted);
	margin: 4px 0 0;
}

/* Showcase */
.ld-showcase {
	background: var(--ld-mint);
	padding: 65px 0;
}

.ld-showcase__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 20px 0 30px;
}

.ld-show-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 310px;
	background: var(--ld-white);
	border: 2px solid var(--ld-line);
	border-radius: 17px;
	overflow: hidden;
}

.ld-show-card--paid {
	border-color: var(--ld-gold);
}

.ld-show-card__inside {
	flex: 1;
	padding: 29px 28px 22px;
}

.ld-show-card--basic .ld-show-card__inside {
	padding-top: 67px;
}

.ld-show-card__badge {
	position: absolute;
	right: 15px;
	top: 16px;
	border-radius: 24px;
	padding: 7px 13px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	background: #d7e4e4;
	color: #456369;
}

.ld-show-card--paid .ld-show-card__badge {
	background: var(--ld-gold);
	color: var(--ld-white);
}

.ld-show-card__category {
	font-size: 13px;
	letter-spacing: 1.3px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ld-teal);
	margin: 0 0 18px;
	padding-right: 145px;
}

.ld-page .ld-show-card h3 {
	font-family: Georgia, serif;
	font-size: 23px;
	line-height: 1.2;
}

.ld-show-card__details {
	font-size: 14px;
	color: var(--ld-muted);
	line-height: 1.85;
}

.ld-show-card__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	border-top: 1px solid var(--ld-line);
	padding: 17px 27px;
}

.ld-show-card--basic .ld-show-card__bottom {
	justify-content: flex-end;
}

.ld-show-card__bottom a {
	color: var(--ld-teal);
	font-weight: 700;
	text-decoration: none;
}

.ld-show-card__demo {
	font-size: 12px;
	color: #8a9e9e;
}

.ld-stars {
	color: var(--ld-gold);
	font-size: 17px;
}

.ld-showcase__note {
	font-size: 13px;
	color: var(--ld-muted);
}

/* Strip */
.ld-strip {
	background: var(--ld-mint);
	padding: 45px 0;
}

.ld-strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

/* Plans */
.ld-plans {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	max-width: 900px;
	margin: 35px auto;
}

.ld-plans--home {
	margin: 25px 0;
	max-width: none;
}

.ld-home-plan {
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: 16px;
	padding: 25px;
}

.ld-home-plan--paid,
.ld-price--premium {
	border: 2px solid var(--ld-gold);
	background: var(--ld-gold-wash);
}

.ld-page .ld-home-plan h3 {
	font-size: 25px;
	margin: 10px 0;
}

.ld-money {
	font-size: 33px;
	font-weight: 750;
	color: var(--ld-teal);
}

.ld-money small {
	font-size: 15px;
}

.ld-home-plan .ld-button {
	margin-top: 15px;
}

.ld-goldtag {
	color: var(--ld-gold-ink);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ld-price {
	padding: 32px;
}

.ld-price--premium .ld-tag {
	color: #98701b;
}

.ld-amount {
	font-size: 40px;
	font-weight: 900;
	margin: 15px 0;
}

.ld-amount small {
	font-size: 15px;
	color: var(--ld-muted);
}

ul.ld-clean {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

ul.ld-clean li {
	padding: 9px 0;
	border-bottom: 1px solid var(--ld-line);
}

ul.ld-clean li::before {
	content: "✓";
	color: var(--ld-teal);
	font-weight: 700;
	margin-right: 10px;
}

/* Steps */
.ld-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ld-steps--cards {
	margin: 25px 0;
}

.ld-number {
	font-weight: 900;
	color: var(--ld-teal);
	font-size: 30px;
}

/* FAQ */
.ld-faq {
	margin-top: 40px;
}

.ld-faq details {
	padding: 18px 0;
	border-bottom: 1px solid var(--ld-line);
}

.ld-faq summary {
	cursor: pointer;
	font-weight: 700;
}

.ld-faq details p {
	margin: 10px 0 0;
}

/* Banner and notices */
.ld-banner {
	background: #e7f5f3;
	border-radius: var(--ld-radius);
	padding: 28px;
	margin-top: 25px;
}

.ld-notice {
	background: #fff7e8;
	border: 1px solid #efd7a3;
	border-radius: var(--ld-radius-sm);
	padding: 13px;
	font-size: 13px;
	color: #6e5523;
	margin-bottom: 18px;
}

.ld-notice--error {
	background: #fdecec;
	border-color: #f1b8b8;
	color: #8a1f1f;
}

/* Claim form */
.ld-form-panel {
	max-width: 850px;
}

.ld-formgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ld-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 14px;
	font-weight: 700;
}

.ld-field input,
.ld-field select,
.ld-field textarea {
	width: 100%;
	margin: 0;
	font-weight: 400;
}

.ld-field input:not([type="checkbox"]),
.ld-field select,
.ld-field textarea {
	border: 1px solid var(--ld-field);
	border-radius: 7px;
	padding: 12px;
	background: var(--ld-white);
	color: var(--ld-ink);
	font-size: 15px;
	line-height: 1.4;
}

.ld-full {
	grid-column: 1 / -1;
}

.ld-check {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
}

.ld-check input {
	width: auto;
	margin-top: 5px;
}

.ld-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Responsive */
@media (max-width: 950px) {
	.ld-showcase__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 850px) {
	.ld-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ld-results,
	.ld-plans,
	.ld-steps,
	.ld-formgrid {
		grid-template-columns: 1fr;
	}

	.ld-search {
		flex-direction: column;
	}

	.ld-hero {
		padding: 60px 0;
	}

	.ld-section__top {
		display: block;
	}

	.ld-section__top .ld-button {
		margin-top: 12px;
	}
}

@media (max-width: 650px) {
	.ld-showcase__grid {
		grid-template-columns: 1fr;
	}

	.ld-show-card {
		min-height: 250px;
	}
}

@media (max-width: 480px) {
	.ld-grid--4 {
		grid-template-columns: 1fr;
	}

	.ld-section {
		padding: 48px 0;
	}
}

/* ==========================================================================
   Find a Dentist
   ========================================================================== */

.ld-search--flat {
	max-width: none;
	margin: 24px 0 16px;
	box-shadow: none;
	border: 1px solid var(--ld-line);
}

.ld-count {
	font-size: 13px;
	color: var(--ld-muted);
	margin: 0 0 16px;
}

.ld-listing--basic .ld-tag,
.ld-listing--basic .ld-goldtag {
	margin-bottom: 6px;
}

.ld-listing--featured {
	border: 2px solid var(--ld-gold);
	background: var(--ld-gold-wash);
}

.ld-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.ld-pagination a,
.ld-pagination__current {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	border: 1px solid var(--ld-line);
	border-radius: 8px;
	background: var(--ld-white);
	text-align: center;
	text-decoration: none;
	font-weight: 700;
}

.ld-pagination__current {
	background: var(--ld-teal);
	border-color: var(--ld-teal);
	color: var(--ld-white);
}

.ld-notice--info {
	margin-top: 24px;
	margin-bottom: 0;
}

/* Specialty tiles: 10 services in two rows of five. */
.ld-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1000px) {
	.ld-grid--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.ld-grid--5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Town and service pages
   ========================================================================== */

.ld-hero--town {
	padding: 46px 0 52px;
}

.ld-hero--town .ld-wrap {
	max-width: var(--ld-wrap);
}

.ld-crumbs {
	font-size: 13px;
	color: #9fb5b5;
	margin-bottom: 14px;
}

.ld-crumbs a {
	color: #c9dddd;
	text-decoration: none;
}

.ld-crumbs a:hover {
	color: var(--ld-white);
	text-decoration: underline;
}

.ld-crumbs [aria-current] {
	color: var(--ld-white);
	font-weight: 700;
}

.ld-page .ld-hero--town h1 {
	font-size: clamp(34px, 4.6vw, 52px);
	max-width: none;
	margin: 10px 0;
}

.ld-hero--town .ld-town__summary {
	margin: 0 0 20px;
	max-width: 720px;
	color: rgba(255, 255, 255, 0.78);
}

.ld-search--town {
	margin: 0;
	max-width: 640px;
}

.ld-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.ld-chip {
	display: inline-block;
	border: 1px solid #3c5252;
	border-radius: 20px;
	padding: 6px 13px;
	font-size: 13px;
	color: #dfeeee;
	text-decoration: none;
}

.ld-chip:hover,
.ld-chip.is-current {
	background: var(--ld-teal);
	border-color: var(--ld-teal);
	color: var(--ld-white);
}

.ld-chips--light .ld-chip {
	background: var(--ld-white);
	border-color: var(--ld-line);
	color: var(--ld-teal);
	font-weight: 700;
}

.ld-chips--light .ld-chip:hover {
	border-color: var(--ld-teal);
	background: var(--ld-mint);
	color: var(--ld-teal);
}

.ld-hero .ld-town__updated {
	font-size: 12px;
	color: #9fb5b5;
	margin: 18px 0 0;
}

.ld-section--flush-top {
	padding-top: 0;
}

.ld-sponsored {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 18px;
}

.ld-sponsored .ld-show-card {
	min-height: 0;
}

.ld-upsell {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 6px;
	background: var(--ld-white);
	border: 2px dashed #d9c08a;
	border-radius: 16px;
	padding: 24px;
}

.ld-page .ld-upsell h3 {
	margin: 0;
}

.ld-upsell p {
	margin: 0 0 10px;
}

.ld-town__body {
	display: block;
}

.ld-town__body.has-map {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 24px;
	align-items: start;
}

.ld-results--town {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ld-town__body.has-map .ld-results--town {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ld-map {
	position: sticky;
	top: 96px;
	display: block;
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	overflow: hidden;
	background: #e4ece6;
}

.ld-map img {
	display: block;
	width: 100%;
	height: auto;
}

.ld-map__label {
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: var(--ld-white);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ld-ink);
}

.ld-town__subhead {
	margin: 32px 0 14px;
}

.ld-town__guide {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 30px;
	align-items: start;
}

.ld-faq--card {
	margin-top: 0;
}

.ld-faq--card details:first-of-type {
	padding-top: 6px;
}

.ld-town__nearby-title {
	font-size: 24px;
	margin-top: 36px;
}

.ld-pill {
	display: inline-block;
	background: #e8f3f2;
	border-radius: 20px;
	padding: 5px 10px;
	font-size: 12px;
	color: var(--ld-teal);
	text-decoration: none;
}

.ld-pill--small {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	margin: 6px 4px 0 0;
}

a.ld-tag {
	text-decoration: none;
}

/* ==========================================================================
   Pearly Whites profile
   ========================================================================== */

.ld-profile {
	max-width: 850px;
}

.ld-profile__panel {
	margin-top: 18px;
}

.ld-profile-photo {
	height: 210px;
	margin: 16px 0;
	border-radius: 12px;
	background: linear-gradient(120deg, #c2e4e1, #e8f3f1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 54px;
	color: #177982;
}

.ld-gallery {
	display: grid;
	gap: 8px;
	margin: 16px 0;
}

.ld-gallery--2,
.ld-gallery--3 {
	grid-template-columns: 2fr 1fr;
}

.ld-gallery__img {
	width: 100%;
	height: 100%;
	max-height: 320px;
	object-fit: cover;
	border-radius: 12px;
}

.ld-preview-hero {
	background: linear-gradient(115deg, #e7f6f4, #f8fbfb);
	border-radius: var(--ld-radius);
	padding: 28px;
}

.ld-pillrow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0;
}

.ld-rating {
	margin: 6px 0;
	font-size: 14px;
}

.ld-profile h2.ld-profile__heading {
	margin: 32px 0 12px;
}

.ld-banner--flush {
	margin-top: 0;
}

.ld-banner p {
	margin: 6px 0;
}

.ld-hours {
	white-space: pre-line;
}

.ld-profile__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

@media (max-width: 950px) {
	.ld-town__body.has-map {
		grid-template-columns: 1fr;
	}

	.ld-map {
		position: relative;
		top: 0;
		max-width: 480px;
	}
}

@media (max-width: 850px) {
	.ld-sponsored,
	.ld-town__guide,
	.ld-results--town,
	.ld-town__body.has-map .ld-results--town {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Account (practice owner dashboard) and other HivePress screens
   ========================================================================== */

.ld-hp-page .site-content {
	padding: 48px 0 68px;
}

.ld-hp-page .hp-page__title {
	font-size: clamp(24px, 2.6vw, 30px);
	margin: 0 0 18px;
}

.ld-hp-page .hp-page__title::before {
	display: none;
}

/* Sidebar: the design's dark dashboard panel */
.ld-hp-page .hp-page__sidebar .hp-widget--user-account-menu {
	background: var(--ld-ink);
	border: 0;
	border-radius: var(--ld-radius);
	box-shadow: none;
	padding: 10px 12px 14px;
	color: var(--ld-white);
}

.ld-dash-card {
	background: var(--ld-ink);
	color: var(--ld-white);
	border-radius: var(--ld-radius) var(--ld-radius) 0 0;
	padding: 22px 24px 4px;
	margin-bottom: -10px;
	position: relative;
	z-index: 1;
}

.ld-dash-card + .hp-widget--user-account-menu,
.ld-dash-card ~ .hp-widget--user-account-menu {
	border-radius: 0 0 var(--ld-radius) var(--ld-radius);
}

.ld-dash-card__logo {
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 10px;
}

.ld-dash-card__logo span {
	color: var(--ld-gold);
}

.ld-dash-card__name {
	margin: 0;
	font-weight: 700;
}

.ld-dash-card__meta {
	margin: 2px 0 8px;
	font-size: 13px;
	color: #cce3e3;
}

.ld-hp-page .hp-menu--user-account ul,
.ld-hp-page .hp-widget--user-account-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ld-hp-page .hp-menu--user-account li,
.ld-hp-page .hp-widget--user-account-menu li {
	margin: 0;
	padding: 0;
	border: 0;
}

.ld-hp-page .hp-widget--user-account-menu li::before,
.ld-hp-page .hp-widget--user-account-menu li a::before {
	display: none;
}

.ld-hp-page .hp-widget--user-account-menu a {
	display: block;
	padding: 11px 12px;
	border-radius: 8px;
	color: var(--ld-white);
	font-weight: 700;
	text-decoration: none;
}

.ld-hp-page .hp-widget--user-account-menu a:hover,
.ld-hp-page .hp-widget--user-account-menu .hp-menu__item--current > a,
.ld-hp-page .hp-widget--user-account-menu .current-menu-item > a {
	background: #245366;
	color: var(--ld-white);
}

.ld-hp-page .hp-widget--user-account-menu small,
.ld-hp-page .hp-widget--user-account-menu .hp-menu__item-count {
	background: var(--ld-gold);
	color: var(--ld-white);
	border-radius: 10px;
	padding: 1px 7px;
	font-size: 11px;
	margin-left: 6px;
}

.ld-hp-page .hp-page__sidebar .hp-widget--user-account-menu .widget,
.ld-hp-page .hp-page__sidebar .widget_nav_menu {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

/* Summary panel */
.ld-dash {
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 24px;
	margin-bottom: 28px;
}

.ld-hp-page .ld-dash__title {
	font-size: 26px;
	margin: 10px 0 16px;
}

.ld-dash__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ld-dash__stat {
	background: #eff7f6;
	border-radius: 12px;
	padding: 16px 18px;
}

.ld-dash__stat small {
	display: block;
	color: var(--ld-muted);
	font-size: 12px;
}

.ld-dash__stat b {
	display: block;
	font-size: 24px;
	color: var(--ld-teal);
	line-height: 1.3;
}

.ld-dash__stat b.is-gold {
	color: var(--ld-gold-ink);
}

.ld-dash__stat span {
	font-size: 12px;
	color: var(--ld-muted);
}

.ld-dash__bar {
	display: block;
	height: 6px;
	margin-top: 8px;
	background: #d6e8e6;
	border-radius: 3px;
	overflow: hidden;
}

.ld-dash__bar i {
	display: block;
	height: 100%;
	background: var(--ld-teal);
}

.ld-dash__note {
	border-left: 4px solid var(--ld-teal);
	background: #edf8f6;
	padding: 10px 14px;
	margin: 16px 0 0;
	font-size: 14px;
}

.ld-dash__upsell {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	background: var(--ld-gold-wash);
	border: 2px solid var(--ld-gold);
	border-radius: 12px;
	padding: 16px 18px;
}

.ld-dash__upsell p {
	margin: 4px 0 0;
	font-size: 14px;
}

/* My listings table → rows */
.ld-hp-page table.hp-table {
	display: block;
	width: 100%;
	border: 0;
	margin: 0;
}

.ld-hp-page table.hp-table tbody {
	display: block;
}

.ld-hp-page .hp-listing--edit-block {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 8px;
}

.ld-hp-page .hp-listing--edit-block td {
	display: block;
	background: none;
	border: 0;
	padding: 0;
	white-space: nowrap;
}

.ld-hp-page .hp-listing--edit-block td.hp-listing__title {
	flex: 1;
	min-width: 0;
	white-space: normal;
}

.ld-hp-page .hp-listing--edit-block .hp-listing__title a {
	color: var(--ld-ink);
	font-weight: 700;
	text-decoration: none;
}

.ld-hp-page .hp-listing--edit-block .hp-listing__title a:hover {
	color: var(--ld-teal);
}

.ld-hp-page .hp-listing--edit-block.hp-listing--featured {
	background: var(--ld-gold-wash);
	border: 2px solid var(--ld-gold);
}

.ld-hp-page .hp-listing--edit-block .hp-listing__categories,
.ld-hp-page .hp-listing--edit-block .hp-listing__created-date {
	color: var(--ld-muted);
	font-size: 13px;
}

.ld-hp-page .hp-listing__actions a,
.ld-hp-page .hp-listing__actions .hp-link {
	color: var(--ld-teal);
}

.ld-hp-page .hp-status {
	border-radius: 20px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
}

/* Forms (settings, edit listing, add listing, sign in, register) */
.ld-hp-page .hp-form__label,
.hp-form .hp-form__label {
	font-family: var(--ld-font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ld-ink);
}

.hp-form .hp-form__label small,
.hp-form .hp-field__label small {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	color: var(--ld-muted);
}

.hp-form input[type="text"],
.hp-form input[type="email"],
.hp-form input[type="tel"],
.hp-form input[type="url"],
.hp-form input[type="password"],
.hp-form input[type="number"],
.hp-form input[type="search"],
.hp-form select,
.hp-form textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	border: 1px solid var(--ld-field);
	border-radius: 7px;
	background: var(--ld-white);
	color: var(--ld-ink);
	box-shadow: none;
}

.hp-form input:focus,
.hp-form select:focus,
.hp-form textarea:focus {
	border-color: var(--ld-teal);
	outline: 2px solid rgba(13, 110, 110, 0.18);
	outline-offset: 0;
}

.hp-form__description,
.hp-field__description {
	color: var(--ld-muted);
	font-size: 13px;
}

.hp-form__footer .hp-form__action a,
.hp-form__actions a,
.hp-form .hp-link {
	color: var(--ld-teal);
}

/* Sign in / register / password reset pages: a centred white card */
.ld-hp-page .hp-form--user-login,
.ld-hp-page .hp-form--user-register,
.ld-hp-page .hp-form--user-password-request,
.ld-hp-page .hp-form--user-password-reset {
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 28px;
}

/* Pop-ups (sign in from the header, messages, reviews) */
.hp-modal {
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 24px 60px rgba(0, 28, 37, 0.3);
}

.hp-modal__title {
	font-family: var(--ld-font);
	color: var(--ld-ink);
}

.fancybox-bg {
	background: #001c25;
}

/* Messages and favourites */
.ld-hp-page .hp-message--thread-block td,
.ld-hp-page .hp-message--view-block {
	background: var(--ld-white);
	border-color: var(--ld-line);
}

.ld-hp-page .hp-message--view-block {
	border: 1px solid var(--ld-line);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 12px;
}

.ld-hp-page .hp-no-results,
.ld-hp-page .hp-page__content > p:only-child {
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 24px;
}

/* HivePress's own "Add listing" / account buttons in the header */
.ld-nav__actions .button,
.ld-nav__actions .hp-button {
	padding: 12px 18px;
	font-size: 14px;
	line-height: 1.2;
	border-radius: var(--ld-radius-sm);
}

.ld-nav__actions .hp-menu--site-header a,
.ld-nav__actions .header-navbar__account a {
	color: var(--ld-white);
}

/* Header: keep menu text level with the buttons */
.ld-nav__list > li > a {
	display: inline-block;
	padding: 10px 0;
	line-height: 1.2;
}

.ld-nav__list > li > a.ld-button {
	padding: 12px 19px;
}

@media (max-width: 850px) {
	.ld-dash__stats {
		grid-template-columns: 1fr;
	}

	.ld-dash__upsell {
		flex-direction: column;
		align-items: flex-start;
	}

	.ld-hp-page .hp-listing--edit-block {
		flex-wrap: wrap;
	}

	.ld-hp-page .hp-listing--edit-block td.hp-listing__title {
		flex-basis: 100%;
	}
}

/* The account menu's pop-up wrapper sits inline on desktop: no pop-up styling there. */
.ld-hp-page .hp-widget--user-account-menu .hp-modal {
	padding: 0;
	box-shadow: none;
	background: transparent;
	border-radius: 0;
}

.ld-hp-page .hp-page__sidebar .hp-widget--user-account-menu {
	box-shadow: none !important;
	margin-top: 0;
	padding-top: 14px;
}

@media (max-width: 850px) {
	.ld-hp-page .hp-listing--edit-block td.hp-listing__actions {
		margin-left: auto;
	}
}

/* ==========================================================================
   Free listing preview (blurred Pearly Whites sections)
   ========================================================================== */

.ld-teaser__title {
	margin-top: 12px !important;
}

.ld-teaser__address {
	font-size: 17px;
	margin: 0 0 10px;
}

.ld-teaser__lead {
	font-size: 15px;
}

.ld-locked {
	position: relative;
	margin-top: 24px;
	border-radius: var(--ld-radius);
	overflow: hidden;
}

.ld-locked__blur {
	filter: blur(6px);
	opacity: 0.85;
	user-select: none;
	pointer-events: none;
}

.ld-locked__photo {
	height: 180px;
	border-radius: 12px;
	background: linear-gradient(120deg, #c2e4e1, #e8f3f1);
	margin-bottom: 16px;
}

.ld-locked__pill {
	display: inline-block;
	width: 110px;
	height: 24px;
	border-radius: 20px;
	background: #e8f3f2;
	margin-right: 8px;
}

.ld-locked__heading {
	width: 180px;
	height: 18px;
	border-radius: 6px;
	background: #c9d8d7;
	margin: 26px 0 12px;
}

.ld-locked__bar {
	height: 12px;
	border-radius: 6px;
	background: #dfe9e8;
	margin: 9px 0;
}

.ld-locked__box {
	background: #e7f5f3;
	border-radius: var(--ld-radius);
	padding: 18px 20px;
}

.ld-locked__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.75));
}

.ld-locked__card {
	max-width: 440px;
	background: var(--ld-white);
	border: 2px solid var(--ld-gold);
	border-radius: 16px;
	padding: 24px 26px;
	text-align: center;
	box-shadow: 0 18px 50px rgba(0, 40, 48, 0.25);
}

.ld-page .ld-locked__card h2 {
	margin: 8px 0;
}

.ld-locked__card p {
	font-size: 14px;
	margin: 0 0 16px;
}

.ld-locked__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.ld-teaser__note {
	margin: 14px 0 0;
}

.single-hp_listing .ld-section {
	padding-top: 32px;
}

/* HivePress adds its Sign In / My Account link to the header menu twice (start and end): show it once, at the end. */
.ld-nav__list > .menu-item--first.menu-item--user-login,
.ld-nav__list > .menu-item--first.menu-item--user-account {
	display: none;
}

.ld-nav__list .hp-menu__item .hp-icon {
	margin-right: 6px;
	color: var(--ld-gold);
}

/* ListingHive gives menu lists and items bottom margins: remove them so the header lines up. */
.ld-top .ld-nav__list,
.ld-top .ld-nav__list > li {
	margin: 0;
}

/* ==========================================================================
   Accessibility: contrast and link fixes (WCAG AA)
   ========================================================================== */

/* Gold badges: dark text on the design's gold, instead of white (white on gold is too faint). */
.ld-show-card--paid .ld-show-card__badge {
	color: var(--ld-ink);
}

.ld-show-card__demo {
	color: #5f7474;
}

.ld-price--premium .ld-tag {
	color: #7a5a12 !important;
}

/* Links inside sentences are underlined so they don't rely on colour alone. */
.ld-notice a,
.ld-crumbs a,
.ld-town__guide-text a,
.ld-faq p a,
.hp-form__action a,
.hp-form__footer a {
	text-decoration: underline;
}

/* ==========================================================================
   For Practices landing page
   ========================================================================== */

.ld-fp__hero p {
	max-width: 660px;
}

.ld-fp__cta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.ld-fp__stats {
	background: var(--ld-teal);
	color: var(--ld-white);
	padding: 26px 0;
}

.ld-fp__stats-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	text-align: center;
}

.ld-fp__stats b {
	display: block;
	font-family: var(--ld-font-display);
	font-weight: 400;
	font-size: 40px;
	line-height: 1.1;
}

.ld-fp__stats span {
	font-size: 14px;
	color: #d7efee;
}

.ld-fp__journey {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	counter-reset: none;
}

.ld-fp__journey li {
	position: relative;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 22px;
}

.ld-fp__journey li:not(:last-child)::after {
	content: "→";
	position: absolute;
	right: -14px;
	top: 26px;
	color: var(--ld-gold);
	font-weight: 900;
	font-size: 18px;
}

.ld-fp__journey b {
	display: block;
	margin: 6px 0;
}

.ld-fp__journey p {
	margin: 0;
	font-size: 14px;
}

.ld-fp__benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 30px;
}

.ld-fp__benefit {
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 24px;
}

.ld-page .ld-fp__benefit h3 {
	font-size: 18px;
	margin: 10px 0 8px;
}

.ld-fp__benefit p {
	margin: 0;
	font-size: 15px;
}

.ld-fp__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--ld-mint);
	color: var(--ld-teal);
	font-size: 22px;
	font-weight: 900;
}

.ld-fp__table-wrap {
	max-width: 900px;
	margin: 28px auto 14px;
	overflow-x: auto;
}

.ld-fp__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	overflow: hidden;
}

.ld-fp__table th,
.ld-fp__table td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--ld-line);
	text-align: center;
	vertical-align: middle;
}

.ld-fp__table th[scope="row"],
.ld-fp__table thead th:first-child {
	text-align: left;
	font-weight: 400;
}

.ld-fp__table thead th {
	font-weight: 800;
	background: #f4f9f9;
}

.ld-fp__table thead th small {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: var(--ld-muted);
}

.ld-fp__table .is-paid {
	background: var(--ld-gold-wash);
}

.ld-fp__table thead .is-paid {
	background: #f9ecd2;
	color: var(--ld-gold-ink);
}

.ld-fp__table tfoot td {
	border-bottom: 0;
}

.ld-yes {
	color: var(--ld-teal);
	font-weight: 900;
	font-size: 18px;
}

.ld-no {
	color: #8a9e9e;
}

.ld-fp__dash {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 34px;
	align-items: center;
}

.ld-fp__dash-demo {
	margin: 0;
	box-shadow: 0 18px 50px rgba(0, 40, 48, 0.12);
}

@media (max-width: 950px) {
	.ld-fp__journey {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ld-fp__journey li:nth-child(2)::after {
		display: none;
	}

	.ld-fp__benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.ld-fp__stats-inner,
	.ld-fp__journey,
	.ld-fp__benefits,
	.ld-fp__dash {
		grid-template-columns: 1fr;
	}

	.ld-fp__stats-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ld-fp__journey li::after {
		display: none;
	}

	.ld-fp__table th,
	.ld-fp__table td {
		padding: 10px 8px;
		font-size: 13px;
	}
}

.ld-fp__table thead .is-paid {
	color: #6e5110;
}

.ld-fp__table thead .is-paid small {
	color: #5c4a22;
}

/* ==========================================================================
   Listing cards (client design, Nov 2026): two matching compact frames.
   Smile Starter: soft visual, up to 3 tags, Claim. Pearly Whites: photo, gold outline.
   ========================================================================== */
.ld-results,
.ld-showcase__cards,
.ld-sponsored {
	align-items: stretch;
}

.ld-showcase__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 920px;
	margin: 22px auto 0;
	text-align: left;
}

.ld-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	min-height: 330px;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(20, 58, 59, 0.045);
}

.ld-card--premium {
	border: 2px solid #c59a42;
	box-shadow: 0 6px 20px rgba(185, 133, 39, 0.11);
}

.ld-card__photo {
	display: block;
	width: 100%;
	height: 105px;
	object-fit: cover;
	background: #d9e7e6;
}

.ld-card__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 105px;
	height: 105px;
	overflow: hidden;
	background: linear-gradient(135deg, #e2f1ed, #f6f5e9);
}

.ld-card__visual::before,
.ld-card__visual::after {
	content: "";
	position: absolute;
	border: 1px solid #bddbd4;
	border-radius: 50%;
	width: 210px;
	height: 210px;
	right: -55px;
	top: -95px;
}

.ld-card__visual::after {
	width: 160px;
	height: 160px;
	left: -70px;
	top: 35px;
}

.ld-card__visual--clinic {
	background: linear-gradient(135deg, #cfe7e3, #fbf1dc);
}

.ld-card__tooth {
	position: relative;
	z-index: 1;
	font-size: 40px;
	filter: saturate(0.5);
}

.ld-card__visual-label {
	position: absolute;
	bottom: 10px;
	right: 15px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3f6b64;
}

.ld-card__inner {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px 15px;
}

.ld-card--basic .ld-card__inner {
	background: #f0f7f4;
}

.ld-card__plan {
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ld-teal);
}

.ld-card--basic .ld-card__plan {
	color: #3f6b64;
}

.ld-page .ld-card__title,
.ld-card__title {
	margin: 0 0 8px;
	font-family: var(--ld-font);
	font-size: 19px;
	line-height: 1.25;
}

.ld-card__title a {
	color: var(--ld-ink);
	text-decoration: none;
}

.ld-card__title a:hover,
.ld-card__title a:focus-visible {
	color: var(--ld-teal);
	text-decoration: underline;
}

.ld-card__details {
	display: grid;
	gap: 4px;
	font-size: 12.5px;
	line-height: 1.45;
	color: #3c5358;
	overflow-wrap: anywhere;
}

.ld-card__details a {
	color: var(--ld-teal);
}

.ld-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 8px 0;
}

.ld-card__tag {
	border-radius: 20px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	background: #e7f2ef;
	color: #1f5e62;
}

.ld-card__tag:nth-child(even) {
	background: #fff2d7;
	color: var(--ld-gold-ink);
}

.ld-card__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 9px;
}

.ld-page .ld-card__btn,
.ld-card__btn {
	display: inline-block;
	border: 1px solid var(--ld-teal);
	border-radius: 9px;
	padding: 8px 11px;
	background: var(--ld-teal);
	color: var(--ld-white);
	font: 600 12.5px/1.2 var(--ld-font-ui);
	text-decoration: none;
	white-space: nowrap;
}

.ld-page .ld-card__btn--secondary,
.ld-card__btn--secondary {
	background: var(--ld-white);
	color: var(--ld-teal);
}

.ld-card__btn:hover {
	background: var(--ld-teal-dark);
	color: var(--ld-white);
}

.ld-card__btn--secondary:hover {
	background: var(--ld-mint);
	color: var(--ld-teal-dark);
}

.ld-card__btn:focus-visible {
	outline: 3px solid #9dcac5;
	outline-offset: 2px;
}

@media (max-width: 680px) {
	.ld-showcase__cards {
		grid-template-columns: 1fr;
	}

	.ld-card {
		min-height: 0;
	}
}

/* Real listings: cards in a row share a height; only the plan examples use the fixed frame. */
.ld-results .ld-card,
.ld-sponsored .ld-card {
	min-height: 0;
}

.ld-teaser__facts {
	margin: 10px 0 4px;
}

.ld-teaser__facts p {
	margin: 4px 0;
}

.ld-teaser__facts a {
	color: var(--ld-teal);
}

/* Full Pearly Whites profile (client design, Nov 2026) */
.ld-fullprofile {
	padding: 0;
	overflow: hidden;
	border: 2px solid #c59a42;
}

.ld-fullprofile__hero {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
	flex-basis: auto;
}

.ld-fullprofile__hero .ld-card__tooth {
	font-size: 56px;
}

.ld-fullprofile__body {
	padding: 22px 26px 26px;
}

.ld-fullprofile__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ld-fullprofile__logo {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	object-fit: contain;
	border: 1px solid var(--ld-line);
	border-radius: 12px;
	background: var(--ld-white);
	padding: 6px;
}

.ld-page .ld-fullprofile__title {
	margin: 0 0 4px;
	font-family: var(--ld-font);
}

.ld-fullprofile__sub {
	margin: 0;
}

.ld-fullprofile__new {
	color: var(--ld-teal);
	font-weight: 600;
}

.ld-fullprofile__tags {
	margin: 14px 0 6px;
	gap: 8px;
}

.ld-fullprofile__tags .ld-card__tag {
	padding: 5px 10px;
	font-size: 12px;
	text-decoration: none;
}

.ld-fullprofile__rating {
	display: flex;
	gap: 7px;
	align-items: center;
	margin: 8px 0 0;
	font-size: 14px;
}

.ld-fullprofile .ld-profile__actions {
	margin-top: 16px;
}

.ld-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ld-team__member {
	background: #f5f8f7;
	border: 1px solid var(--ld-line);
	border-radius: 12px;
	padding: 12px;
}

.ld-team__member b {
	display: block;
	font-size: 14px;
}

.ld-team__member small {
	color: var(--ld-muted);
	font-size: 12px;
}

.ld-team__member p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ld-muted);
}

.ld-fullprofile__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ld-fullprofile__gallery img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 10px;
}

.ld-fullprofile__contact a {
	color: var(--ld-teal);
}

/* Appointment request form */
.ld-request {
	margin: 30px 0 18px;
	padding: 24px;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(20, 60, 60, 0.045);
	scroll-margin-top: 90px;
}

.ld-page .ld-request h2 {
	margin: 4px 0 6px;
}

.ld-request__notice {
	margin: 14px 0 18px;
	padding: 13px 14px;
	background: #fff6e8;
	border: 1px solid #f1d7a9;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.ld-request__done,
.ld-request__error {
	margin: 12px 0;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 14px;
}

.ld-request__done {
	background: #e6f6ed;
	border: 1px solid #b9e0c9;
}

.ld-request__error {
	background: #fdecea;
	border: 1px solid #f3c1bb;
}

.ld-request__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.ld-request__form p {
	margin: 0 0 14px;
}

.ld-request__form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.ld-request__form input:not([type="checkbox"]),
.ld-request__form select {
	width: 100%;
	padding: 12px;
	border: 1px solid #b8cdcd;
	border-radius: 9px;
	background: var(--ld-white);
	color: var(--ld-ink);
	font: inherit;
}

.ld-request__form input:focus,
.ld-request__form select:focus {
	outline: 2px solid #008b8e;
	outline-offset: 1px;
}

.ld-request__form small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}

.ld-page .ld-request__consent {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	margin: 6px 0 18px;
}

.ld-request__consent input {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex: 0 0 auto;
}

.ld-page .ld-request__consent label {
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.ld-request .ld-small {
	margin: 12px 0 0;
}

@media (max-width: 680px) {
	.ld-team,
	.ld-request__grid,
	.ld-fullprofile__gallery {
		grid-template-columns: 1fr;
	}

	.ld-fullprofile__body,
	.ld-request {
		padding: 18px;
	}

	.ld-fullprofile__hero {
		height: 170px;
	}
}

.ld-dash__stats {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

div.ld-fullprofile__hero {
	display: flex;
}

.ld-fullprofile__contact a,
.ld-card__details a,
.ld-teaser__facts a {
	text-decoration: underline;
}

/* Compact free card for long lists (client request, Nov 2026) */
.ld-card.ld-card--compact {
	min-height: 0;
	border-left: 4px solid #bddbd4;
}

.ld-card--compact .ld-card__inner {
	padding: 12px 15px 13px;
}

.ld-card--compact .ld-card__plan {
	margin-bottom: 3px;
}

.ld-page .ld-card--compact .ld-card__title,
.ld-card--compact .ld-card__title {
	font-size: 17px;
	margin-bottom: 5px;
}

.ld-card--compact .ld-card__buttons {
	padding-top: 8px;
}

.ld-strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ld-field small {
	display: block;
	margin-top: 4px;
	font-weight: 400;
	font-size: 12px;
}

img.ld-fullprofile__hero {
	height: 280px;
	object-position: 50% 25%;
}

@media (max-width: 680px) {
	img.ld-fullprofile__hero {
		height: 190px;
	}
}

/* Pearly Whites billing in the practice dashboard */
.ld-dash__plans {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ld-dash__plans form {
	margin: 0;
}

.ld-dash__plans small {
	flex-basis: 100%;
	font-size: 12px;
}

.ld-dash__billing {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid var(--ld-line);
	border-radius: 12px;
	background: var(--ld-gold-wash);
}

.ld-dash__billing p {
	margin: 6px 0 0;
}

.ld-dash__billing form {
	margin: 0;
}

.ld-dash__notice {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #e6f6ed;
	border: 1px solid #b9e0c9;
}

.ld-dash__notice.is-error {
	background: #fdecea;
	border-color: #f3c1bb;
}

.ld-team__photo {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 10px;
	background: var(--ld-mint);
}

.ld-fullprofile__gallery img {
	height: auto;
	aspect-ratio: 3 / 2;
}

/* Keep short phrases together, e.g. "near you" in the home page heading. */
.ld-nowrap {
	white-space: nowrap;
}

/* Coming soon page (mylocaldental.ca before launch) */
body.ld-soon-page {
	margin: 0;
	background: var(--ld-ink, #1d2b2b);
}

.ld-soon {
	min-height: 100vh;
	font-family: var(--ld-font-ui);
	display: grid;
	place-items: center;
	padding: 40px max(16px, env(safe-area-inset-left, 0px));
	text-align: center;
	color: #fff;
	background: radial-gradient(circle at 50% 0%, rgba(13, 110, 110, 0.45), transparent 60%), #1d2b2b;
}

.ld-soon__inner {
	max-width: 640px;
}

.ld-soon__logo {
	display: inline-block;
	margin-bottom: 28px;
	font-size: 26px;
	color: #fff;
}

.ld-soon h1 {
	margin: 10px 0 14px;
	font-family: var(--ld-font-display);
	font-weight: 400;
	font-size: clamp(34px, 6vw, 56px);
	line-height: 1.1;
	color: #fff;
}

.ld-soon h1 em {
	color: #5cc2bf;
}

.ld-soon__lead {
	font-size: 18px;
	color: #c7d6d5;
}

.ld-soon__practices {
	margin-top: 32px;
	font-size: 14px;
	color: #c7d6d5;
}

.ld-soon__practices a {
	color: #e2b65a;
}
