/* ==========================================================================
   White Pearl Dental Care — homepage intro + Book Now / Call buttons
   Matches the editorial theme: cream, ink, teal, IBM Plex Mono labels.
   ========================================================================== */

/* ---- One typeface site-wide: IBM Plex Mono ---- */
html body *:not(svg):not(path):not(.dashicons):not(.fa):not(.ab-icon) {
	font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace !important;
}
body {
	font-size: 15.5px;
	line-height: 1.75;
}
.entry-content p,
.entry-content li {
	line-height: 1.75;
}
/* Paragraphs set to the editor's "Medium" size match normal body text */
.entry-content p.has-medium-font-size {
	font-size: 15.5px !important;
	line-height: 1.75 !important;
}

/* ---- Heading scale (content headings) ---- */
.entry-content h2,
.entry-content h2.wp-block-heading {
	font-size: 25px !important;
	line-height: 1.25 !important;
}
.entry-content h3,
.entry-content h3.wp-block-heading {
	font-size: 19px !important;
	line-height: 1.3 !important;
}
.entry-content h4,
.entry-content h4.wp-block-heading {
	font-size: 17px !important;
	line-height: 1.35 !important;
}
.home .entry-content h2#h-dentist-blacktown {
	font-size: 25px !important;
}
@media (max-width: 768px) {
	.entry-content h2,
	.entry-content h2.wp-block-heading { font-size: 21px !important; }
	.entry-content h3,
	.entry-content h3.wp-block-heading { font-size: 18px !important; }
	.home .entry-content h2#h-dentist-blacktown { font-size: 21px !important; }
}

/* ---- Book Now + Call buttons (all pages) ---- */
.entry-content a.wpdc-book-link,
.entry-content a.wpdc-call-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 14px 26px !important;
	border: 1.5px solid transparent !important;
	border-radius: 999px !important;
	box-sizing: border-box;
	font-family: 'IBM Plex Mono', monospace !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	line-height: 1.2;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.entry-content a.wpdc-book-link::after,
.entry-content a.wpdc-call-link::after { content: none !important; }

.entry-content a.wpdc-book-link {
	background: var(--wp-teal, #2E7D6B) !important;
	border-color: var(--wp-teal, #2E7D6B) !important;
	color: #fff !important;
}
.entry-content a.wpdc-book-link:hover,
.entry-content a.wpdc-book-link:focus-visible {
	background: var(--wp-teal-dark, #235F52) !important;
	border-color: var(--wp-teal-dark, #235F52) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.entry-content a.wpdc-call-link {
	background: transparent !important;
	border-color: var(--wp-ink, #16283A) !important;
	color: var(--wp-ink, #16283A) !important;
}
.entry-content a.wpdc-call-link:hover,
.entry-content a.wpdc-call-link:focus-visible {
	background: var(--wp-ink, #16283A) !important;
	color: var(--wp-cream, #F6F1E6) !important;
	transform: translateY(-1px);
}

.entry-content a.wpdc-book-link:focus-visible,
.entry-content a.wpdc-call-link:focus-visible {
	outline: 3px solid #F2B84B;
	outline-offset: 3px;
}

/* ---- Homepage intro ---- */
.wpdc-intro {
	margin: 0 0 40px;
}

/* "Dentist Blacktown" toned down to a soft grey */
.home .entry-content h2#h-dentist-blacktown,
.home .entry-content h2#h-dentist-blacktown strong {
	color: #7C8288 !important;
}

/* Name always on one line, scaled to the available width */
.entry-content h1.wpdc-intro__name {
	margin: 0 0 18px;
	font-family: 'IBM Plex Mono', monospace !important;
	font-size: clamp(1.1rem, 5.6vw, 3rem) !important;
	font-weight: 600 !important;
	line-height: 1.1;
	letter-spacing: -0.035em;
	white-space: nowrap;
	color: var(--wp-teal, #2E7D6B) !important;
}
@media (min-width: 769px) {
	.entry-content h1.wpdc-intro__name { font-size: min(3rem, 4.2vw) !important; }
}

.wpdc-intro__est {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 32px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp-ink, #16283A);
	opacity: 0.75;
}
.wpdc-intro__est::before {
	content: "";
	display: inline-block;
	width: 36px;
	height: 1px;
	background: var(--wp-teal, #2E7D6B);
}

.entry-content .wpdc-intro__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

/* Status box keeps its original editorial styling (floats right on desktop).
   On mobile it moves below the Book Now / Call buttons. */
@media (max-width: 900px) {
	.wpdc-intro {
		display: flex;
		flex-direction: column;
		margin-bottom: 8px;
	}
	.wpdc-intro__name { order: 1; }
	.wpdc-intro__est { order: 2; }
	.wpdc-intro__buttons { order: 3; }
	.wpdc-intro .wpv-status-box { order: 4; }
}
@media (max-width: 480px) {
	.wpdc-intro__est { margin-bottom: 26px; }
	.entry-content .wp-block-button:has(> a.wpdc-book-link),
	.entry-content .wp-block-button.wpdc-call-button { width: 100%; }
	.entry-content a.wpdc-book-link,
	.entry-content a.wpdc-call-link { width: 100%; }
}
