/* Clinic Ovis theme styles — layout language patterned after large health-system sites */

/* ---------- Header ---------- */
.co-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--white);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.co-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--navy-dark);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--wp--preset--color--seafoam);
}

.co-logo img,
.co-logo svg {
	display: block;
	height: 52px;
	width: auto;
}

.co-logo--footer img,
.co-logo--footer svg {
	height: 48px;
}

/* ---------- Hero ---------- */
.co-hero {
	position: relative;
	overflow: hidden;
}

.co-hero h1 {
	color: var(--wp--preset--color--white);
	font-weight: 900;
	letter-spacing: -0.01em;
	max-width: 14ch;
}

.co-hero p {
	color: rgba(255, 255, 255, 0.88);
	max-width: 46ch;
}

/* Action card overlapping the hero bottom edge */
.co-action-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--custom--shadow--card);
	margin-top: -4.5rem;
	position: relative;
	z-index: 5;
}

.co-action-card .wp-block-buttons {
	gap: 0.75rem;
}

/* ---------- Eyebrow label ---------- */
.co-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--navy);
}

/* ---------- Chevron link list ---------- */
.co-link-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.co-link-list li {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.co-link-list li a {
	display: block;
	position: relative;
	padding: 1.05rem 2.2rem 1.05rem 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}

.co-link-list li a::after {
	content: "";
	position: absolute;
	right: 0.4rem;
	top: 50%;
	width: 0.6rem;
	height: 0.6rem;
	border-top: 2.5px solid currentColor;
	border-right: 2.5px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	transition: right 0.15s ease;
}

.co-link-list li a:hover {
	color: var(--wp--preset--color--navy-dark);
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-color: var(--wp--preset--color--seafoam);
}

.co-link-list li a:hover::after {
	right: 0.1rem;
}

/* ---------- Stat / feature cards ---------- */
.co-stat-card {
	border-radius: var(--wp--custom--radius--card);
	padding: 2rem;
	height: 100%;
}

.co-stat-card.is-white {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: var(--wp--custom--shadow--card);
}

.co-stat-card .co-stat-number {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 900;
	font-size: var(--wp--preset--font-size--stat);
	line-height: 1;
	color: var(--wp--preset--color--navy);
	margin: 0 0 0.4rem;
}

.co-arrow-link a,
a.co-arrow-link {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	text-decoration: none;
}

.co-arrow-link a::after,
a.co-arrow-link::after {
	content: " \203A";
	font-weight: 900;
}

.co-arrow-link a:hover,
a.co-arrow-link:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-color: var(--wp--preset--color--seafoam);
}

/* ---------- Bands ---------- */
.co-band-navy a {
	color: var(--wp--preset--color--white);
}

.co-band-navy h2,
.co-band-navy h3 {
	color: var(--wp--preset--color--white);
}

/* Outline button variant */
.co-btn-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--preset--color--navy);
	color: var(--wp--preset--color--navy);
}

.co-btn-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

.co-band-navy .co-btn-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}

.co-band-navy .co-btn-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

/* ---------- Footer ---------- */
.co-footer {
	font-size: 0.95rem;
}

.co-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.co-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--wp--preset--color--seafoam);
}

.co-footer .co-footer-legal {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}

/* ---------- Misc ---------- */
.co-card-photo img {
	border-radius: var(--wp--custom--radius--card);
}

@media (max-width: 781px) {
	.co-action-card {
		margin-top: -2.5rem;
	}

	.co-logo img,
	.co-logo svg {
		height: 42px;
	}
}
