/*
Theme Name: Cattery Care
Description: Cattery Care block theme, built from Figma "Cattery Care – Website TH Rev01".
Version: 2.4
Requires at least: 6.6
Text Domain: catterycare
*/

/* Small layout helpers that core blocks have no UI for. */
.cc-push-bottom { margin-top: auto !important; }
.cc-feature-title { min-height: 2.4em; }
.cc-card { height: 100%; }
/* Core sets nav link color with a doubled class; match it to win. */
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--wp--preset--color--green-700); }
.wp-site-blocks > * { margin-block-start: 0; }

/* Header row: left edge on the 1320 content grid, runs 92px past it on the right like the Figma frame. */
.cc-header-row {
	--cc-left: max(0px, (100% - 1320px) / 2);
	margin-left: var(--cc-left);
	max-width: min(1412px, 100% - var(--cc-left));
}
.cc-nav .wp-block-navigation__container > .wp-block-navigation-item:not(:last-child) { min-width: 145px; }
@media (max-width: 599px) { .cc-nav .wp-block-navigation__container > .wp-block-navigation-item { min-width: 0; } }
.cc-header-row p { white-space: nowrap; }
.cc-header-row figure { flex-shrink: 0; }
@media (max-width: 781px) {
	.cc-header-row .wp-block-group { gap: 12px !important; }
	.cc-header-row .wp-block-image img { max-width: 140px; height: auto !important; }
}
.cc-lang { margin-right: 8.5px; font-size: var(--wp--preset--font-size--eyebrow); font-weight: 700; line-height: 23px; color: var(--wp--preset--color--text-primary); white-space: nowrap; }
.cc-lang a:hover, .cc-lang a.is-current { color: var(--wp--preset--color--green-700); }
