/*
Theme Name: Linden Street Health
Theme URI: https://fiftysite.com/
Author: Fifty Site
Description: Calm, clear block theme for a small allied health clinic (physio, massage, chiropractic) with online booking. Sample site by Fifty Site (Pro plan with the online booking add-on).
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linden-street
*/
:root {
	--ls-radius: 20px;
	--ls-pill: 999px;
	--ls-on-primary: #F6F9F8;
	--ls-field: #B9CCC9;
	--ls-cta-btn-bg: #F6F9F8;
	--ls-cta-btn-ink: #1F4A4C;
	--ls-cta-btn-hover: #D5E9E6;
	--ls-footer-link: #D6E4E2;
}

/* Layout helpers used by the patterns. Colours, fonts and sizes live in theme.json. */

.ls-header { border-bottom: 1px solid var(--wp--preset--color--line); }

.ls-eyebrow {
	display: inline-block;
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--tint-ink);
	font-weight: 600;
	font-size: 0.875rem;
	padding: 0.5rem 0.875rem;
	border-radius: var(--ls-pill);
}
.ls-kicker { margin: 0; color: #1F5F61; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8125rem; }
.ls-meta { color: var(--wp--preset--color--muted); font-size: 0.9375rem; margin: 0; }
.ls-price { font-size: 1.5rem; font-family: var(--wp--preset--font-family--heading); }

.ls-lead { color: var(--wp--preset--color--muted); font-size: 1.1875rem; line-height: 1.6; max-width: 34rem; }
.wp-block-group > .ls-lead { margin-left: 0 !important; margin-right: auto !important; }
.ls-lead-center { color: var(--wp--preset--color--muted); font-size: 1.1875rem; }

.ls-checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-size: 0.9375rem; }
.ls-checks li { display: flex; align-items: center; gap: 0.5rem; }
.ls-checks li::before {
	content: "";
	width: 18px; height: 18px; flex: none;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E8B8B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.ls-card {
	border-radius: var(--ls-radius);
	padding: 2.25rem;
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
}
.ls-card h3 { margin: 0.25rem 0 0; }
.ls-card h3 a { color: inherit; }
.ls-card .wp-block-buttons { margin-top: 0.5rem; }

.ls-step-num {
	width: 48px; height: 48px;
	border-radius: var(--ls-pill);
	background: var(--wp--preset--color--primary);
	color: var(--ls-on-primary);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	margin: 0;
}

.ls-chips .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1.5px solid var(--ls-field);
	font-weight: 500;
	padding: 0.65rem 1.25rem;
}
.ls-chips .wp-block-button__link:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-dark); background: transparent; }

.ls-cta { border-radius: calc(var(--ls-radius) * 1.3); padding: 4rem 2.5rem; text-align: center; }
.ls-cta .wp-block-button__link { background: var(--ls-cta-btn-bg); color: var(--ls-cta-btn-ink); font-weight: 700; }
.ls-cta .wp-block-button__link:hover { background: var(--ls-cta-btn-hover); color: var(--ls-cta-btn-ink); }
.ls-cta .is-style-outline > .wp-block-button__link { background: transparent; color: var(--ls-on-primary); border: 1.5px solid var(--ls-on-primary); }
.ls-cta .ls-lead-center { color: var(--ls-footer-link); }
.ls-cta a:not(.wp-block-button__link) { color: inherit; }
.ls-cta h2 { color: var(--ls-on-primary); }

.ls-footer a { color: var(--ls-footer-link); }
.ls-footer a:hover, .ls-footer a:focus-visible { color: #fff; }
.ls-foot-brand { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.25rem; color: #fff; margin: 0; }
.ls-sample-note { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 2.5rem !important; padding-top: 1.5rem; font-size: 0.8125rem; opacity: 0.85; }

.is-style-outline > .wp-block-button__link { border: 1.5px solid var(--ls-field); color: var(--wp--preset--color--ink); background: #fff; }
.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--primary); background: #fff; color: var(--wp--preset--color--ink); }
.wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; }
.wp-block-button__link[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* Links: one hover style everywhere. Underline, 2px. */
a:where(:not(.wp-element-button)) { text-decoration: none; }
a:where(:not(.wp-element-button)):hover,
a:where(:not(.wp-element-button)):focus-visible,
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus-visible,
.wp-block-site-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}
.wp-element-button, .wp-block-button__link { text-decoration: none !important; }

/* Inline sample notes and owner placeholders */
.ls-inline-note { color: var(--wp--preset--color--muted); font-size: 0.9375rem; margin: 0; }
.ls-note { background: var(--wp--preset--color--soft); border-left: 4px solid var(--wp--preset--color--primary); padding: 0.9rem 1.1rem; border-radius: 0 calc(var(--ls-radius) * 0.5) calc(var(--ls-radius) * 0.5) 0; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }

/* Image placeholders: swap for the owner's photos */
.ls-ph { margin: 0; display: flex; align-items: center; justify-content: center; border-radius: calc(var(--ls-radius) * 0.85); color: var(--wp--preset--color--primary); }
.ls-ph { background: linear-gradient(160deg, #DCEBE8, #C6DDD9); }
.ls-ph--card { height: 200px; margin-bottom: 0.5rem; }
.ls-ph--wide { height: 220px; margin-bottom: 0.5rem; }
.ls-ph--hero { height: 460px; border-radius: calc(var(--ls-radius) * 1.15); }
.ls-ph--hero svg { width: 140px; height: 140px; }
.ls-ph--product { height: 520px; }
.ls-ph--product svg { width: 140px; height: 140px; }
.ls-ph--inline { height: 360px; }

/* Product grid and detail */
.ls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.25rem; }
.ls-grid > * { margin: 0 !important; }
.ls-facts { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9375rem; }
.ls-facts th, .ls-facts td { text-align: left; padding: 0.65rem 0; border-bottom: 1px solid var(--wp--preset--color--line); vertical-align: top; }
.ls-facts th { width: 8rem; font-weight: 600; }

/* FAQ */
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 0.9rem 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }

.wp-block-site-title { font-weight: 700; }
.ls-head-row { align-items: baseline; }

/* Standard pages: same 1200px frame as the hub pages; text keeps a readable line length, aligned to the left edge */
.ls-page .wp-block-post-content > :is(p, ul, ol, h2, h3, .wp-block-details, .wp-block-buttons, .ls-note) { max-width: 800px; margin-left: 0 !important; }
.ls-page .wp-block-post-content > .ls-lead { max-width: 800px; }
.ls-page .wp-block-post-title { margin-bottom: 1.5rem; }

@media (max-width: 781px) {
	.ls-card { padding: 1.5rem; }
	.ls-cta { padding: 2.5rem 1.5rem; }
	.ls-ph--hero { height: 280px; }
	.ls-ph--product { height: 320px; }
	.ls-ph--inline { height: 240px; }
}

/* Mobile header: logo, button and menu on one row */
@media (max-width: 600px) {
	.ls-header > .wp-block-group { flex-wrap: nowrap; gap: 0.6rem; }
}

/* Booking panel (sample) */
.ls-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.6rem; margin: 0.75rem 0 1.25rem; }
.ls-slot { display: block; text-align: center; padding: 0.6rem 0.5rem; border: 1.5px solid var(--ls-field); border-radius: 12px; background: #fff; color: var(--wp--preset--color--ink); font-weight: 600; font-size: 0.9375rem; }
.ls-slot[aria-disabled="true"] { opacity: 0.45; text-decoration: line-through; }
.ls-day-label { font-weight: 700; margin: 0.5rem 0 0; }
.ls-person { text-align: left; }
.ls-person .ls-ph { height: 180px; margin-bottom: 0.75rem; }
