/* Mintly theme. Colors come from --mintly-* variables set by the active preset. */
:root {
	--mintly-accent: #1f6f5c;
	--mintly-deep: #134a3d;
	--mintly-soft: #e9f4ef;
	--mintly-photo: #cfe5db;
	--mintly-warm: #f4b9a0;
	--mintly-ink: #10261f;
	--mintly-muted: #3d4f49;
	--mintly-line: #e3eae6;
	--mintly-font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mintly-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--mintly-wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media ( prefers-reduced-motion: reduce ) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: #fff;
	color: var(--mintly-ink);
	font-family: var(--mintly-font);
	font-size: 17px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--mintly-accent); }
h1, h2, h3, h4 { font-family: var(--mintly-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp( 2.25rem, 5vw, 3.75rem ); }
h2 { font-size: clamp( 1.9rem, 3.6vw, 3rem ); }
.wrap { max-width: var(--mintly-wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect( 1px, 1px, 1px, 1px ); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 12px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--mintly-accent); outline-offset: 2px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px;
	font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px;
}
.btn--accent { background: var(--mintly-accent); color: #fff; }
.btn--accent:hover { background: var(--mintly-deep); color: #fff; }

/* Top bar */
.topbar { background: var(--mintly-deep); color: #fff; font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar__item { display: inline-flex; gap: 8px; align-items: center; }
.topbar a { color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--mintly-line); background: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand__name { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mintly-ink); font-family: var(--mintly-display); font-weight: 700; font-size: 22px; }
.custom-logo { max-height: 56px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { display: flex; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { color: var(--mintly-ink); text-decoration: none; font-weight: 500; padding: 10px 0; display: block; }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a { color: var(--mintly-accent); }
.primary-nav .sub-menu { display: none; position: absolute; background: #fff; list-style: none; margin: 0; padding: 8px 0; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba( 0, 0, 0, .3 ); min-width: 220px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li:hover > .sub-menu, .primary-nav .menu > li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 8px 18px; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta__phone { color: var(--mintly-ink); font-weight: 600; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--mintly-line); border-radius: 12px; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--mintly-ink); cursor: pointer; }

@media ( max-width: 1024px ) {
	.menu-toggle { display: inline-flex; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; flex-direction: column; align-items: stretch; gap: 8px;
		padding: 12px 24px 24px; border-bottom: 1px solid var(--mintly-line);
		box-shadow: 0 20px 40px -20px rgba( 0, 0, 0, .2 );
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { padding: 12px 0; border-bottom: 1px solid var(--mintly-line); }
	.primary-nav .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; }
	.header-cta { flex-direction: column; align-items: stretch; }
	.header-cta .btn { width: 100%; }
}
@media ( max-width: 782px ) { .admin-bar .site-header { top: 46px; } }

/* Content */
.content-area { padding-top: 64px; padding-bottom: 96px; }
.page-title { margin-bottom: 32px; }
.entry-content > * + * { margin-top: 1.1em; }
.featured { margin: 0 0 32px; border-radius: 24px; overflow: hidden; }
.is-elementor .entry-content > * + * { margin-top: 0; }
.post-grid { display: grid; grid-template-columns: repeat( auto-fill, minmax( 300px, 1fr ) ); gap: 24px; }
.card { border: 1px solid var(--mintly-line); border-radius: 24px; overflow: hidden; background: #fff; }
.card img { display: block; width: 100%; height: auto; }
.card__body { padding: 24px; }
.card__title { font-size: 1.4rem; }
.card__title a { color: var(--mintly-ink); text-decoration: none; }
.single-mintly_dentist .mintly-booking { margin-top: 48px; }

/* Footer */
.site-footer { background: var(--mintly-ink); color: #d3dfda; padding: 64px 0 32px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer__cols { display: grid; grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) ); gap: 32px; margin-bottom: 40px; }
.site-footer .widget-title { color: #fff; font-size: 1.1rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid rgba( 255, 255, 255, .15 ); padding-top: 24px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }

/* Sticky "Book online" on phones: the booking is always one tap away. */
.mobile-book { display: none; }
@media ( max-width: 767px ) {
	.mobile-book {
		display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
		box-shadow: 0 16px 40px -12px rgba( 0, 0, 0, .45 );
	}
	body { padding-bottom: 88px; }
	.mobile-book { transition: opacity .2s, transform .2s; }
	.mobile-book.is-hidden { opacity: 0; transform: translateY( 120% ); pointer-events: none; }
}
#book { scroll-margin-top: 96px; }

/* WordPress core classes */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc( 50% - 50vw ); }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--mintly-muted); }
.sticky, .bypostauthor { display: block; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.is-style-mintly-pill .wp-block-button__link { border-radius: 999px; background: var(--mintly-accent); color: #fff; font-weight: 700; }
.mintly-cta { background: var(--mintly-soft); border-radius: 32px; padding: 48px; }
.post-tags { margin-top: 32px; font-size: 15px; color: var(--mintly-muted); }
.comments { margin-top: 64px; border-top: 1px solid var(--mintly-line); padding-top: 32px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .avatar { border-radius: 999px; }

/* Small content patterns used in the demo homepage (Elementor text widgets). */
.mintly-pill { display: inline-block; background: var(--mintly-warm); color: var(--mintly-ink); border-radius: 999px; padding: 2px 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-right: 6px; }
.mintly-stats { display: flex; flex-wrap: wrap; gap: 24px 40px; list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid rgba( 255, 255, 255, .18 ); }
.mintly-stats li { display: flex; flex-direction: column; }
.mintly-stats strong { font-family: var(--mintly-display); font-size: 32px; line-height: 1.1; }
.mintly-stats span { font-size: 14px; opacity: .8; }
.mintly-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.mintly-chips li { background: #f2f5f3; border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; color: var(--mintly-muted); }
.mintly-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat( auto-fit, minmax( 260px, 1fr ) ); gap: 16px; }
.mintly-steps li { counter-increment: step; background: #fff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 6px; color: var(--mintly-muted); }
.mintly-steps li::before { content: counter( step ); width: 44px; height: 44px; border-radius: 999px; background: var(--mintly-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.mintly-steps strong { color: var(--mintly-ink); font-size: 18px; }
.mintly-facts { display: grid; grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) ); gap: 16px; list-style: none; margin: 24px 0 0; padding: 0; }
.mintly-facts li { background: var(--mintly-soft); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 4px; color: var(--mintly-muted); }
.mintly-facts strong { font-family: var(--mintly-display); font-size: 28px; color: var(--mintly-ink); }
.site-footer h2 { font-size: 1.15rem; color: #fff; letter-spacing: 0; margin-bottom: .8em; }
.site-footer p { margin: 0 0 1em; }
.mintly-steps--stack, .mintly-facts--stack { grid-template-columns: 1fr; }
.mintly-steps--stack li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; }
.mintly-steps--stack li::before { grid-row: 1 / span 2; margin-bottom: 0; }
