/* Cavaliers Puppy Manager — site footer (front end + Site Editor) */

:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer {
	--f-bg: #443120;
	--f-ink: #fbf6f1;
	--f-muted: rgba(251, 246, 241, .74);
	--f-line: rgba(251, 246, 241, .16);
	--f-gold: #e3c79c;
	margin: 0 !important;
	padding: 0;
	max-width: none;
	background: var(--f-bg);
	color: var(--f-ink);
	font-size: 16px;
	line-height: 1.6;
}
/* No theme "block gap" margins inside the footer — spacing is set here. */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer :is(.coh-footer__inner, .coh-footer__news, .coh-footer__news-text, .coh-footer__grid, .coh-footer__brand, .coh-footer__col, .coh-footer__bottom) > * {
	margin-block-start: 0 !important;
	margin-block-end: 0;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer a {
	color: inherit;
	text-decoration: none;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer a:focus-visible {
	outline: 2px solid var(--f-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__inner {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 26px;
}

/* ----- Newsletter band ----- */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__news {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
	align-items: center;
	gap: 22px 48px;
	margin: 0 0 clamp(40px, 5vw, 60px) !important;
	padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 36px);
	border: 1px solid var(--f-line);
	border-radius: 22px;
	background: rgba(251, 246, 241, .06);
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__news-title {
	margin: 0 0 6px !important;
	color: var(--f-ink);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__news-sub {
	margin: 0 !important;
	color: var(--f-muted);
	font-size: 15px;
}

/* ----- Columns ----- */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr);
	gap: 40px 36px;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid--3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.3fr); }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__title {
	margin: 0 0 16px !important;
	color: var(--f-gold);
	font-family: inherit;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Brand */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__logo {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px !important;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__logo .wp-block-site-logo { margin: 0; flex: 0 0 auto; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__logo .wp-block-site-logo img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	background: #faf5f0;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__logo .wp-block-site-title {
	margin: 0;
	color: var(--f-ink);
	font-size: 21px;
	line-height: 1.2;
	letter-spacing: .02em;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__tagline {
	max-width: 34ch;
	margin: 0 0 18px !important;
	color: var(--f-muted);
	font-size: 15px;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px !important;
	margin: 0 !important;
	padding: 0;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__social .wp-social-link {
	margin: 0 !important;
	background: rgba(251, 246, 241, .1) !important;
	color: var(--f-ink) !important;
	border-radius: 50%;
	transition: background .15s, transform .15s;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__social .wp-social-link:hover {
	background: var(--f-gold) !important;
	color: #443120 !important;
	transform: translateY(-1px);
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__social .wp-social-link a { padding: 10px; color: inherit !important; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__social .wp-social-link svg { width: 20px; height: 20px; fill: currentColor; }

/* Link lists */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__nav,
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__nav .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 16px;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__nav .wp-block-navigation-item__content {
	padding: 0;
	color: var(--f-ink);
}

/* Contact */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__contact {
	display: grid;
	gap: 12px;
	margin: 0 0 22px !important;
	padding: 0;
	list-style: none;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	overflow-wrap: break-word;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__contact a { display: inline-flex; align-items: flex-start; gap: 10px; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__icon {
	flex: 0 0 18px;
	margin-top: 3px;
	color: var(--f-gold);
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 !important;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta .wp-block-button { margin: 0; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta .wp-block-button__link {
	display: inline-block;
	padding: 11px 20px;
	border: 2px solid #faf5f0;
	border-radius: 999px;
	background: #faf5f0;
	color: #443120 !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background .15s, color .15s;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--f-ink) !important;
	border-color: rgba(251, 246, 241, .55);
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta .wp-block-button__link:hover { background: #fff; border-color: #fff; color: #443120 !important; }

/* ----- Bottom bar ----- */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	margin: clamp(36px, 5vw, 56px) 0 0 !important;
	padding: 20px 0 0;
	border-top: 1px solid var(--f-line);
	color: var(--f-muted);
	font-size: 14px;
}
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__bottom p { margin: 0 !important; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__legal { flex: 1 1 auto; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__legal a { color: var(--f-ink); }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__top a { display: inline-flex; align-items: center; gap: 6px; color: var(--f-ink); }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__top .coh-footer__icon { margin: 0; }

/* (More specific than the "no block gap" rule above.) */
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer .coh-footer__bottom { margin-top: clamp(36px, 5vw, 56px) !important; }
:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer .coh-footer__cta { margin-top: 0 !important; }

/* ----- Tablet ----- */
@media (max-width: 1024px) {
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid[class*="coh-footer__grid--"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid--3 .coh-footer__brand { grid-column: 1 / -1; }
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__news { grid-template-columns: 1fr; }
}

/* ----- Phone ----- */
@media (max-width: 640px) {
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid { gap: 34px 20px; }
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__brand,
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__col--contact,
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__grid--3 .coh-footer__col { grid-column: 1 / -1; }
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__news { border-radius: 18px; }
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__bottom { flex-direction: column; align-items: flex-start; }
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta .wp-block-button,
	:is(.wp-site-blocks, .editor-styles-wrapper) .coh-footer__cta .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
}
