/*
Theme Name: Nursing Companions
Theme URI: https://nursingcompanions.org
Description: Warm, modern block theme for Nursing Companions in-home nursing care. Includes Home, Services, About and Contact templates, reusable section patterns, and Gravity Forms styling.
Version: 1.0.0
Requires at least: 6.5
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: nursing-companions
*/

/* Most styling lives in theme.json. This file holds the few things theme.json can't express. */

/* Card + soft shadow helpers used by patterns */
.nc-card {
	border-radius: 20px;
}
.nc-shadow {
	box-shadow: 0 16px 40px rgba(90, 60, 30, 0.12);
}

/* Arched hero photo */
.nc-arch img {
	border-radius: 200px 200px 28px 28px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

/* Rounded photos */
.nc-rounded img {
	border-radius: 28px;
	object-fit: cover;
	width: 100%;
}

/* Numbered step badges on How it works */
.nc-step-number {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* Small icon bubbles */
.nc-icon {
	width: 24px;
	height: 24px;
	flex: none;
}
.nc-icon-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Floating hours card on the hero */
.nc-float-card {
	position: relative;
	margin-top: -64px !important;
	margin-left: -8px !important;
	max-width: 320px;
	z-index: 1;
}

/* Header nav: keep the CTA button visually distinct */
.wp-block-navigation .nc-nav-cta a {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white) !important;
	padding: 12px 22px;
	border-radius: 999px;
}
.wp-block-navigation .nc-nav-cta a:hover {
	background: var(--wp--preset--color--primary-dark);
}

/* Visible keyboard focus everywhere */
:where(a, button, input, select, textarea, .wp-element-button):focus-visible {
	outline: 3px solid var(--wp--preset--color--terracotta);
	outline-offset: 2px;
}

@media (max-width: 781px) {
	.nc-float-card {
		margin-top: -40px !important;
		margin-left: 0 !important;
	}
}

/* Sections butt up against each other; spacing comes from each section's padding */
.wp-site-blocks > * {
	margin-block-start: 0;
}

/* Header bottom rule */
.nc-header {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Pill badge (hero "Licensed · Bonded · Insured") */
.nc-badge {
	border-radius: 999px;
	padding: 6px 14px;
}

/* Footer links */
.nc-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}
.nc-footer a:hover {
	text-decoration: underline;
}
.nc-plain-list {
	list-style: none;
	padding-left: 0;
	line-height: 2;
}
.nc-footer-bottom {
	border-top: 1px solid #3A4766;
	padding-top: 1.5rem;
}
