/*
Theme Name: Studio Simpatico
Theme URI: http://www.studiosimpati.co/
Description: This custom WordPress theme was designed and developed with love by Studio Simpatico.
Author: Studio Simpatico
Author URI: http://www.studiosimpati.co/
Version: 1.0.0
*/

/*
 * ====================================================================== *
 * HTML5 Boilerplate Minified
 * ====================================================================== *
 */

*{box-sizing:border-box;}article{display:block}aside{display:block}details{display:block}figcaption{display:block}figure{display:block;margin:0}footer{display:block}header{display:block}hgroup{display:block}nav{display:block}section{display:block}audio{display:inline;}canvas{display:inline;}video{display:inline;}audio:not([controls]){display:none}[hidden]{display:none}html{color:#222;font-family:sans-serif;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}button{-webkit-appearance:button;color:#222;cursor:pointer;font-family:sans-serif;font-size:100%;line-height:normal;margin:0;overflow:visible;vertical-align:middle}input{color:#222;font-family:sans-serif;font-size:100%;line-height:normal;margin:0;vertical-align:middle}select{color:#222;font-family:sans-serif;font-size:100%;margin:0;vertical-align:middle}textarea{color:#222;font-family:sans-serif;font-size:100%;margin:0;overflow:auto;resize:vertical;vertical-align:top}body{font-size:1em;line-height:1.4;margin:0}::-moz-selection{background:#333;color:#fff;text-shadow:none}::selection{background:#333;color:#fff;text-shadow:none}a{color:#00e}a:hover{color:#06e;outline:0}a:active{outline:0}abbr[title]{border-bottom:1px dotted}b{font-weight:700}strong{font-weight:700}blockquote{margin:1em 40px}dfn{font-style:italic}hr{border:0;border-top:1px solid #ccc;display:block;height:1px;margin:1em 0;padding:0}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:700}pre{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em;white-space:pre-wrap;word-wrap:break-word}code{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em}kbd{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em}samp{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em}q{quotes:none}q:before{content:none}q:after{content:none}small{font-size:85%}sub{bottom:-.25em;font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{font-size:75%;line-height:0;position:relative;top:-.5em;vertical-align:baseline}ul{margin:1em 0;padding:0 0 0 40px}ol{margin:1em 0;padding:0 0 0 40px}dd{margin:0 0 0 40px}nav ul{list-style:none;list-style-image:none;margin:0;padding:0}nav ol{list-style:none;list-style-image:none;margin:0;padding:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle}svg:not(:root){overflow:hidden}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;margin-left:-7px;padding:0;white-space:normal}input[type="button"]{-webkit-appearance:button;cursor:pointer;overflow:visible}input[type="reset"]{-webkit-appearance:button;cursor:pointer;overflow:visible}input[type="submit"]{-webkit-appearance:button;cursor:pointer;overflow:visible}button[disabled]{cursor:default}input[disabled]{cursor:default}input[type="checkbox"]{box-sizing:border-box;height:13px;padding:0;width:13px}input[type="radio"]{box-sizing:border-box;height:13px;padding:0;width:13px}input[type="search"]{-webkit-appearance:none}input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner{border:0;padding:0}input::-moz-focus-inner{border:0;padding:0}input:invalid{background-color:#f0dddd}textarea:invalid{background-color:#f0dddd}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{background:#ccc;color:#000;margin:.2em 0;padding:.2em 0}

/*
 * ====================================================================== *
 * Body Styles
 * ====================================================================== *
 */

:root {

	/* Colors — PSPCA brand palette */
	--retriever-black: #03071D;
	--russian-blue: #012846;
	--russian-blue-hover: #3D5A72;
	--mustang-blue: #006DFC; /* prior: #008CFB — darkened so white button text meets WCAG AA (4.57:1) */
	--mustang-blue-hover: #005ACF; /* prior: #4DAFFC — darkened so white text stays AA-compliant on hover (6.24:1) */
	--husky-blue: #93C5EC;
	--husky-blue-50: #C4E1F7;
	--husky-blue-25: #E4F3FF;
	--collie-blue: #BBE9FF;
	--goldie-yellow: #EFC63C;
	--goldie-yellow-hover: #DCB73A;
	--setter-crimson: #B81E2E; /* brand crimson darkened — #DE3244 itself is 4.52:1 on white, no margin */
	--setter-crimson-hover: #951825;
	--grayhound: #637078;
	--wolfhound-gray: #E6E9EB;
	--appaloosa-beige: #E6E3DE;
	--pitty-off-white: #FEFCF9;
	--samoyed-white: #fff;

	/* Semantic aliases */
	--white: var(--samoyed-white);
	--black: var(--retriever-black);

	/* Typography */
	--body-font: "neulis-sans", Arial, Helvetica, sans-serif;
	--heading-font: "halyard-display", Arial, Helvetica, sans-serif;

	/* Layout & Container */
	--container-width: 90vw;
	--container-max-width: 2000px;
	--container-outer-padding: 50px;
	--container-outer-margin: calc((100vw - var(--container-width)) / 2);
	--viewport-edge: calc((var(--container-outer-margin) + var(--container-outer-padding)) * -1);
	--viewport-full: calc(100% + (var(--viewport-edge) * -2));
	--one-column-width: ((100vw - (2 * (var(--container-outer-margin) + var(--container-outer-padding)))) - (11 * var(--gap))) / 12;
	--gap: 40px;
	--grid: repeat(12, minmax(0,1fr));
	--container-breakout-full: min(0px, 64px - var(--container-outer-margin) - var(--container-outer-padding));
	--container-breakout: max(-58px, var(--container-breakout-full));

	/* Header */
	--header-height: 132px; /* 16px top padding + 100px logo + 16px on top of logo */
	/* Height of #header.sticky, which swaps in the smaller sticky logo. Anything
	   that pins itself below the sticky header measures against this, not
	   --header-height. 0 at mobile, where the header never goes sticky. */
	--sticky-header-height: 123px;
	--subnav-height: 40px;

	/* Module Spacing (between content sections) */
	--module-spacing-small: 64px;
	--module-spacing-medium: 80px;
	--module-spacing-large: 120px;
	--module-spacing-xlarge: 160px;

	/* Text Spacing (within components) */
	--text-spacing-xxsmall: 8px;
	--text-spacing-xsmall: 16px;
	--text-spacing-small: 24px;
	--text-spacing-medium: 32px;
	--text-spacing-large: 40px;
	--text-spacing-xlarge: 48px;
	--text-spacing-xxlarge: 56px;

	/* Border Radius */
	--border-radius-normal: 6px;
	--border-radius-large: 16px;

	/* Card Shadows */
	--card-shadow: 8px 8px 40px 0px rgba(0, 0, 0, 0.04);

	interpolate-size: allow-keywords;
}

html {
	font-size: 100%;
}

body {
	background: var(--pitty-off-white);
	color: var(--retriever-black);
	font: 1rem var(--body-font);
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.svg-inline--fa {
	display: inline-block;
	font-size: inherit;
	height: 1em;
	overflow: visible;
	vertical-align: -0.125em;
}

.svg-inline--fa path {
	fill: currentColor;
}

a {
	text-decoration: none;
	transition: all .25s ease;
}

input[type=submit],
button {
	border-radius: 0;
	font-family: inherit;
	transition: all .25s ease;
}

img,
svg,
iframe,
picture {
	max-width: 100%;
}

img,
svg,
picture {
	height: auto;
}

/*** Headings ***/

h1,
.heading-1,
h2,
.heading-2,
h3,
.heading-3,
h4,
.heading-4,
h5,
.heading-5,
h6,
.heading-6 {
	color: var(--russian-blue);
	margin: 0;
}

:is(.background-russian-blue, .background-mustang-blue) :is(h1, h2, h3, h4, h5, h6, .heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6) {
	color: var(--samoyed-white);
}

h1,
.heading-1 {
	font-family: var(--heading-font);
	font-size: calc(114rem / 16);
	font-weight: 600;
	letter-spacing: 0.4px;
	line-height: calc(96 / 114);
	line-height: calc(1 / 1);
}

h2,
.heading-2 {
	font-family: var(--heading-font);
	font-size: calc(86rem / 16);
	font-weight: 600;
	letter-spacing: 0.3px;
	line-height: calc(80 / 86);
}

h3,
.heading-3 {
	font-family: var(--body-font);
	font-size: calc(54rem / 16);
	font-weight: 600;
	letter-spacing: -0.2px;
	line-height: calc(64 / 54);
}

h4,
.heading-4 {
	font-family: var(--heading-font);
	font-size: calc(40rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(40 / 40);
}

h5,
.heading-5 {
	font-family: var(--heading-font);
	font-size: calc(32rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(32 / 32);
}

h6,
.heading-6 {
	font-family: var(--body-font);
	font-size: calc(28rem / 16);
	font-weight: 600;
	letter-spacing: 0.3px;
	line-height: calc(38 / 28);
}

.heading-1.white, .heading-2.white, .heading-3.white,
.heading-4.white, .heading-5.white, .heading-6.white {
	color: var(--samoyed-white);
}

.heading-1 a, .heading-2 a, .heading-3 a,
.heading-4 a, .heading-5 a, .heading-6 a,
.heading-1 strong, .heading-2 strong, .heading-3 strong,
.heading-4 strong, .heading-5 strong, .heading-6 strong {
	color: var(--mustang-blue);
}

.heading-1 a:hover, .heading-2 a:hover, .heading-3 a:hover,
.heading-4 a:hover, .heading-5 a:hover, .heading-6 a:hover {
	color: var(--mustang-blue-hover);
}

h1 u, .heading-1 u,
h2 u, .heading-2 u,
h3 u, .heading-3 u,
h4 u, .heading-4 u {
	display: inline-block;
	position: relative;
	text-decoration: none;
}

h1 u::after, .heading-1 u::after,
h2 u::after, .heading-2 u::after,
h3 u::after, .heading-3 u::after,
h4 u::after, .heading-4 u::after {
	background: var(--goldie-yellow);
	border-radius: 12px;
	content: '';
	display: block;
	left: 50%;
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%);
	z-index: -1;
}

h1 u::after, .heading-1 u::after {
	height: 12px;
	rotate: -1deg;
	top: calc(100% - 4px);
	width: calc(100% + 52px);
}

h2 u::after, .heading-2 u::after {
	height: 10px;
	rotate: -1deg;
	top: calc(100% - 2px);
	width: calc(100% + 32px);
}

h3 u::after, .heading-3 u::after {
	height: 7px;
	rotate: -1.2deg;
	top: calc(100% - 7px);
	width: calc(100% + 24px);
}

h4 u::after, .heading-4 u::after {
	height: 6px;
	rotate: -1.4deg;
	top: calc(100% + 1px);
	width: calc(100% + 20px);
}

/*** Body ***/

p,
ul,
ol,
.regular-text,
.regular-text p,
.regular-text ul,
.regular-text ol,
.medium-text,
.medium-text p,
.medium-text ul,
.medium-text ol {
	font-family: var(--body-font);
	font-size: calc(18rem / 16);
	letter-spacing: 0.3px;
	line-height: calc(30 / 18);
}

p.xlarge,
ul.xlarge,
ol.xlarge,
.xlarge-text,
.xlarge-text p,
.xlarge-text ul,
.xlarge-text ol {
	font-family: var(--body-font);
	font-size: calc(26rem / 16);
	letter-spacing: 0.3px;
	line-height: calc(32 / 26);
}

p.large,
ul.large,
ol.large,
.large-text,
.large-text p,
.large-text ul,
.large-text ol {
	font-family: var(--body-font);
	font-size: calc(20rem / 16);
	letter-spacing: 0.3px;
	line-height: calc(32 / 20);
}

p.small,
ul.small,
ol.small,
.small-text,
.small-text p,
.small-text ul,
.small-text ol {
	font-family: var(--body-font);
	font-size: calc(15rem / 16);
	letter-spacing: 0.2px;
	line-height: calc(24 / 15);
}

p.xsmall,
ul.xsmall,
ol.xsmall,
.xsmall-text,
.xsmall-text p,
.xsmall-text ul,
.xsmall-text ol {
	font-family: var(--body-font);
	font-size: calc(14rem / 16);
	letter-spacing: 0.2px;
	line-height: calc(22 / 14);
}

.semibold,
p.semibold,
ul.semibold,
ol.semibold,
.semibold-text,
.semibold-text p,
.semibold-text ul,
.semibold-text ol {
	font-weight: 600;
}

/*** Eyebrows ***/

.eyebrow {
	display: block;
	font-family: var(--body-font);
	font-size: calc(18rem / 16);
	font-weight: 700;
	letter-spacing: 1.6px;
	line-height: calc(23 / 18);
	text-transform: uppercase;
}

.eyebrow.small {
	font-size: calc(16rem / 16);
	line-height: calc(20 / 16);
}

.eyebrow.collie-blue {
	color: var(--collie-blue);
}

.eyebrow.goldie-yellow {
	color: var(--goldie-yellow);
}

.eyebrow.grayhound {
	color: var(--grayhound);
}

.eyebrow.russian-blue {
	color: var(--russian-blue);
}

.eyebrow.white {
	color: var(--samoyed-white);
}

/*** Pills ***/

.pill {
	border-radius: var(--border-radius-normal);
	display: inline-block;
	font-weight: 700;
	letter-spacing: 1.6px;
	line-height: 1.25;
	padding: 4px 12px;
	text-transform: uppercase;
}

.pill.small {
	font-size: calc(11rem / 16);
	letter-spacing: 1.6px;
	line-height: calc(18 / 11);
}

.pill.large {
	font-size: calc(16rem / 16);
	letter-spacing: 1.6px;
	line-height: calc(20 / 16);
}

.pill.collie-blue {
	background: var(--collie-blue);
	color: var(--russian-blue);
}

.pill.goldie-yellow {
	background: var(--goldie-yellow);
	color: var(--russian-blue);
}

.pill.russian-blue {
	background: var(--russian-blue);
	color: var(--samoyed-white);
}

.pill.husky-blue-25 {
	background: var(--husky-blue-25);
	color: var(--russian-blue);
}

/** Pill: Location **/

.pill.location {
	align-items: flex-start;
	display: flex;
	gap: 6px;
}

.pill.location svg {
	display: block;
	position: relative;
	top: 3px;
}

.pill.transparent {
	background: transparent;
	color: var(--russian-blue);
	padding: 0;
}

.pill.post-tag {
	background: var(--wolfhound-gray);
	color: var(--grayhound);
}

.pill.trait {
	background: var(--wolfhound-gray);
	color: var(--russian-blue);
}

.pill.white {
	background: var(--samoyed-white);
	color: var(--russian-blue);
}

/*** Pill Nav — row of pills used as tabs/jump links ***/

.pill-nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--text-spacing-xxsmall);
}

.pill-nav .pill {
	background: #F7F5F1;
	border-radius: var(--border-radius-normal);
	color: var(--russian-blue);
	cursor: pointer;
	font-size: calc(17rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(24 / 17);
	padding: 6px 12px;
	text-decoration: none;
	text-transform: none;
	transition: background .2s ease;
}

.pill-nav .pill input[type="radio"],
.pill-nav .pill input[type="checkbox"] {
	display: none;
}

.pill-nav .pill:hover {
	background: var(--appaloosa-beige);
}

.pill-nav .pill.active,
.pill-nav .pill:has(input:checked) {
	background: var(--appaloosa-beige);
	color: var(--russian-blue);
}

/*** Other Type Styles ***/

.date {
	color: var(--grayhound);
	font-size: calc(12rem / 16);
	font-weight: 600;
	letter-spacing: 1.6px;
	line-height: calc(20 / 12);
	text-transform: uppercase;
}

.date.large {
	font-size: calc(15rem / 16);
	font-weight: 700;
	line-height: calc(20 / 15);
}

.quote,
.quote p {
	font-family: var(--heading-font);
	font-size: calc(58rem / 16);
	font-weight: 500;
	letter-spacing: 0.4px;
	line-height: calc(62 / 58);
}

.quote-small,
.quote-small p {
	font-family: var(--heading-font);
	font-size: calc(40rem / 16);
	font-weight: 500;
	letter-spacing: 0.4px;
	line-height: calc(44 / 40);
}

.big-stat,
.big-stat p {
	font-family: var(--heading-font);
	font-size: calc(136rem / 16);
	font-weight: 600;
	letter-spacing: 1px;
	line-height: calc(100 / 136);
}

.big-stat.russian-blue {
	color: var(--russian-blue);
}

.press-card-text {
	font-size: calc(20rem / 16);
	font-weight: 600;
	line-height: calc(28 / 20);
}

.legal,
.meta {
	color: var(--grayhound);
	font-size: calc(14rem / 16);
	letter-spacing: 0.4px;
	line-height: calc(24 / 14);
}

header,
section,
footer,
article {
	width: 100%;
}

.container {
	clear: both;
	margin: 0 auto;
	max-width: var(--container-max-width);
	padding: 0 var(--container-outer-padding);
	position: relative;
	width: var(--container-width);
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.grid,
.grid-container {
	display: grid;
	gap: var(--gap);
	grid-template-columns: var(--grid);
}

.flex,
.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* List reset for grid/flex utilities on ul/ol */

ul.grid,
ol.grid,
ul.grid-container,
ol.grid-container,
ul.flex,
ol.flex,
ul.flex-container,
ol.flex-container,
ul.plain-list,
ol.plain-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.accessibility,
.hidden_label > label {
	backface-visibility: hidden;
	left: -999999999px;
	opacity: 0;
	position: absolute;
}

#skip-to-content {
	pointer-events: none;
	top: 0;
	z-index: 9999999;
}

#skip-to-content:focus {
	backface-visibility: visible;
	background: var(--black);
	border: 1px solid var(--white);
	color: var(--white);
	left: var(--container-outer-padding);
	opacity: 1;
	pointer-events: auto;
	top: var(--text-spacing-xsmall);
}

#skip-to-content:focus:hover {
	box-shadow: inset 0px 0px 0px 2px var(--black);
}

/*** Media ***/

.media {
	overflow: hidden;
	position: relative;
}

.media img {
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
}

/* Video inside .media — iframe or <video> fill the container */

.media.video {
	aspect-ratio: 16 / 9;
}

.media.video iframe,
.media.video video {
	border: 0;
	display: block;
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
}

/* Play icon — centered overlay for lightbox triggers */

.media .play-icon {
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	border-radius: 50%;
	color: var(--samoyed-white);
	display: flex;
	font-size: calc(20rem / 16);
	height: 64px;
	justify-content: center;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: background .2s ease;
	width: 64px;
}

button.media:hover .play-icon {
	background: rgba(0, 0, 0, 0.6);
}

button.media {
	border: none;
	cursor: pointer;
	padding: 0;
}

/* Carousel dots — bottom-left, global pattern */

.media .jazzy-dots {
	align-items: center;
	bottom: var(--text-spacing-xsmall);
	display: flex;
	gap: var(--text-spacing-xxsmall);
	left: var(--text-spacing-xsmall);
	position: absolute;
	z-index: 3;
}

.media .jazzy-dot {
	background: var(--samoyed-white);
	border: 2px solid transparent;
	border-radius: 50%;
	cursor: pointer;
	height: 6px;
	opacity: 0.6;
	padding: 0;
	transition: all .3s ease;
	width: 6px;
}

.media .jazzy-dot.is-active {
	background: transparent;
	border-color: var(--goldie-yellow);
	height: 16px;
	opacity: 1;
	width: 16px;
}

/*** Cards ***/

.card {
	border-radius: var(--border-radius-normal);
	display: block;
	overflow: hidden;
	position: relative;
}

a.card {
	color: inherit;
	text-decoration: none;
}

a.card:hover .media img {
	transform: scale(1.05);
}

.card .media img {
	transition: transform .4s ease;
}

/** Card: Post **/

.card.card-post {
	align-items: flex-start;
	background: var(--appaloosa-beige);
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-small);
	height: 100%;
	padding: var(--text-spacing-medium) var(--text-spacing-medium) var(--text-spacing-large);
}

.card.card-post .pill.small {
	position: absolute;
	right: 12px;
	top: 12px;
}

.card.card-post .large-text {
	line-height: calc(28 / 20);
}

.card.card-post .large-text + .xsmall-text {
	margin-top: calc(-1 * var(--text-spacing-xxsmall));
}

.card.card-post .media {
	align-self: stretch;
	aspect-ratio: 3 / 2;
}

.card.card-post .press-card-text {
	display: block;
}

.card.card-post .date .separator {
	margin: 0 2px;
}

.card.card-post p {
	margin: 0;
}

.card.card-post .btn.text-arrow {
	margin-top: auto;
}

/** Card: Resource **/

.card.card-resource {
	border: 1px solid var(--wolfhound-gray);
	border-radius: var(--border-radius-normal);
	display: flex;
	height: 100%;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.card.card-resource:hover {
	box-shadow: 8px 8px 40px 0px rgba(0, 0, 0, 0.04);
}

.card.card-resource .media {
	flex-shrink: 0;
	width: 200px;
}

.card.card-resource .text-and-button {
	align-items: flex-start;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	min-width: 0;
	padding: var(--text-spacing-medium);
}

.card.card-resource .text-and-button .pills {
	display: flex;
	flex-wrap: wrap;
	gap: var(--text-spacing-xxsmall);
}

.card.card-resource .text-and-button .heading-6 {
	margin: 0;
}

.card.card-resource .text-and-button .small-text {
	color: var(--grayhound);
	margin: 0;
}

.card.card-resource .text-and-button .btn {
	margin-top: auto;
}

/** Card: Service **/

.card.service {
	align-items: center;
	background: var(--samoyed-white);
	box-shadow: var(--card-shadow);
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-large);
	padding: var(--text-spacing-xlarge) var(--text-spacing-medium);
	transition: box-shadow .3s ease;
}

/* Text-only cards are left-aligned, so the arrow tucks into the bottom-right
   corner instead of centering and the copy only nudges on hover. */

.card.service:not(:has(.icon)) {
	padding-block: var(--text-spacing-large);
}

.card.service:not(:has(.icon)) .arrow-block {
	bottom: var(--text-spacing-xsmall);
	left: auto;
	right: var(--text-spacing-xsmall);
	transform: translateY(8px);
}

a.card.service:not(:has(.icon)):hover .card-text {
	transform: translateY(-8px);
}

a.card.service:not(:has(.icon)):hover .arrow-block {
	transform: translateY(0);
}

.card.service .icon {
	align-items: center;
	background: var(--husky-blue-25);
	border-radius: 80px;
	display: flex;
	height: 100px;
	justify-content: center;
	transition: transform .3s ease;
	width: 100px;
}

.card.service .icon img {
	height: 60px;
	object-fit: contain;
	width: 60px;
}

.card.service .card-text {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	transition: transform .3s ease;
	width: 100%;
}

.card.service .card-text .heading-5,
.card.service .card-text .small-text {
	color: var(--russian-blue);
	margin: 0;
	width: 100%;
}

.card.service .card-text .small-text {
	color: var(--retriever-black);
}

.card.service .arrow-block {
	bottom: var(--text-spacing-medium);
	left: 50%;
	opacity: 0;
	position: absolute;
	transform: translate(-50%, 8px);
	transition: opacity .3s ease, transform .3s ease;
}

a.card.service:hover {
	--card-shadow: 8px 24px 64px 0px rgba(0, 0, 0, 0.08);
}

a.card.service:hover .icon {
	transform: translateY(-12px);
}

a.card.service:hover .card-text {
	transform: translateY(-32px);
}

a.card.service:hover .arrow-block {
	opacity: 1;
	transform: translate(-50%, 0);
}

/** Card: Service Alt **/

.card.service.alt {
	background: var(--mustang-blue);
	color: var(--samoyed-white);
}

.card.service.alt .heading-5 {
	color: var(--samoyed-white);
}

/** Card: Circle **/

/* Large circular photo or icon over centered text. Deliberately unboxed — no
   background or shadow on the card itself — so the same component reads
   correctly on every module background color. */

.card.circle {
	align-items: center;
	background: none;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-small);
	overflow: visible;
	text-align: center;
}

.card.circle .media,
.card.circle .icon {
	aspect-ratio: 1;
	border-radius: 50%;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
	transition: box-shadow .3s ease, transform .3s ease;
	width: 180px;
}

.card.circle .icon {
	align-items: center;
	background: var(--husky-blue-25);
	display: flex;
	justify-content: center;
}

.card.circle .icon img {
	height: 45%;
	object-fit: contain;
	position: static;
	width: 45%;
}

/* align-items: center keeps each child at its own content width — without it
   the tertiary link stretches and its underline runs the full text column. */

.card.circle .card-text {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
}

.card.circle .card-text p {
	margin: 0;
}

.card.circle .btn.tertiary {
	margin-top: var(--text-spacing-xxsmall);
}

a.card.circle:hover .media,
a.card.circle:hover .icon {
	box-shadow: var(--card-shadow);
	transform: translateY(-8px);
}

a.card.circle:hover .heading-5 {
	color: var(--russian-blue-hover);
}

.background-russian-blue .card.circle .icon {
	background: var(--husky-blue-50);
}

/** Card: Person **/

/* Shared by the people archive and the Leadership Team module. Callers own the
   surrounding grid; the card and its bio dialog live here. Use a <button> when
   the person has a bio (it opens .person-bio-dialog) and a <div> when they
   don't — the interactive treatment keys off the tag. */

.person-card {
	align-items: center;
	background: var(--samoyed-white);
	border: none;
	border-radius: var(--border-radius-large);
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	padding: var(--text-spacing-medium);
	position: relative;
	text-align: center;
	width: 100%;
}

button.person-card {
	cursor: pointer;
}

button.person-card:hover {
	box-shadow: 8px 24px 64px 0px rgba(0, 0, 0, 0.08);
}

.person-card .media {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	height: auto;
	margin-bottom: var(--text-spacing-xxsmall);
	overflow: hidden;
	transition: transform .3s ease;
	width: 160px;
}

/* Placeholder state: PSPCA logo centered inside the media circle when no photo is set. */

.person-card .media.is-placeholder {
	align-items: center;
	background: var(--appaloosa-beige);
	display: flex;
	justify-content: center;
}

.person-card .media.is-placeholder svg {
	/* width-driven sizing with height:auto preserves the logo's intrinsic 143:66 aspect */
	color: var(--russian-blue);
	display: block;
	height: auto;
	max-width: 60%;
	width: 60%;
}

.person-card .card-text {
	transition: transform .3s ease;
}

.person-card .heading-6 {
	margin: 0;
}

.person-card .small-text {
	color: var(--grayhound);
	margin: 0;
}

.person-card .arrow-block {
	bottom: var(--text-spacing-medium);
	left: 50%;
	opacity: 0;
	position: absolute;
	transform: translate(-50%, 8px);
	transition: opacity .3s ease, transform .3s ease;
}

button.person-card:hover .media {
	transform: scale(0.85) translateY(-20px);
}

button.person-card:hover .card-text {
	transform: translateY(-40px);
}

button.person-card:hover .arrow-block {
	opacity: 1;
	transform: translate(-50%, 0);
}

/** Person Bio Dialog **/

/* Gated on [open]: an ungated `display: flex` beats the UA's
   `dialog:not([open]) { display: none }`, so the panel stays on the page after
   close() — only the backdrop leaves. [open] also outranks `.modal`, which is
   defined later in this file and would otherwise clamp this to its 720px. */

.person-bio-dialog[open] {
	display: flex;
	max-height: 70vh;
	max-width: 1200px;
	overflow: hidden;
	padding: 0;
}

.person-bio-dialog::backdrop {
	background: rgba(0, 0, 0, 0.85);
	opacity: 1;
}

/* Flex chain (dialog → modal-inner → content → info) gives the scrolling
   info pane a definite height to resolve against, since the dialog is sized
   by max-height only. min-height: 0 lets the flex children shrink and scroll
   instead of overflowing the dialog's clipped box. */

.person-bio-dialog .modal-inner {
	display: flex;
	flex: 1;
	min-height: 0;
	min-width: 0;
	position: relative;
}

.person-bio-dialog .modal-close {
	position: absolute;
	right: var(--text-spacing-medium);
	top: var(--text-spacing-medium);
	transition: background .2s ease, color .2s ease;
	z-index: 1;
}

.person-bio-dialog .modal-close:hover {
	background: rgba(0, 0, 0, 0.15);
}

.person-bio-dialog-content {
	display: flex;
	flex: 1;
	min-height: 0;
	min-width: 0;
}

.person-bio-dialog-content > .media {
	border-radius: var(--border-radius-large) 0 0 var(--border-radius-large);
	flex-shrink: 0;
	width: 460px;
}

.person-bio-dialog-content > .media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.person-bio-dialog-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	min-height: 0;
	min-width: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--text-spacing-xlarge);
}

.person-bio-dialog-info .heading-4 {
	margin: 0;
}

.person-bio-dialog-info .large {
	color: var(--grayhound);
	margin: 0;
}

.person-bio-dialog-info .content-styles {
	margin-top: var(--text-spacing-small);
}

/** Card: Donation **/

.card.donation {
	align-items: center;
	background: var(--appaloosa-beige);
	border: none;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	height: 100%;
	overflow: visible;
	padding: var(--text-spacing-large);
	text-align: center;
}

.card.donation .icon {
	margin-bottom: var(--text-spacing-xxsmall);
}

.card.donation .icon img {
	display: block;
	height: 48px;
	object-fit: contain;
	width: auto;
}

.card.donation .eyebrow,
.card.donation .eyebrow p {
	font-size: calc(16rem / 16);
	margin-bottom: var(--text-spacing-xxsmall);
}

.card.donation .amount {
	color: var(--russian-blue);
	display: block;
	font-size: calc(48rem / 16);
	font-weight: 700;
	line-height: 1;
	margin-bottom: var(--text-spacing-xxsmall);
}

.card.donation p {
	color: var(--grayhound);
	margin: 0;
}

/** Card: Location **/

.card.location::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	bottom: 0;
	content: '';
	height: 160px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	transition: height .3s ease;
}

a.card.location:hover::after {
	height: 200px;
}

.card.location .card-overlay {
	align-items: flex-end;
	bottom: 0;
	display: flex;
	gap: var(--text-spacing-xxsmall);
	left: 0;
	padding: 0 16px 16px;
	position: absolute;
	right: 0;
	transform: translate3d(0, 0, 0);
	z-index: 1;
}

.card.location .card-overlay > div {
	transition: transform .4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.card.location .card-overlay .xlarge-text {
	color: var(--samoyed-white);
	flex: 1;
}

.card.location .card-overlay .arrow-block {
	flex-shrink: 0;
}

a.card.location:hover .card-overlay > div {
	transform: translateY(-16px);
}

a.card.location:hover .arrow-block {
	background: var(--mustang-blue-hover);
	color: var(--samoyed-white); /* white arrow on the blue hover block */
}

/** Card: Event **/

.card.event {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-large);
}

.card.event .media {
	aspect-ratio: 269 / 200;
	background: var(--appaloosa-beige);
	border-radius: var(--border-radius-normal);
	flex-shrink: 0;
	width: 269px;
}

.card.event .media .pill {
	left: var(--text-spacing-xxsmall);
	position: absolute;
	right: var(--text-spacing-xxsmall);
	top: var(--text-spacing-xxsmall);
	width: fit-content;
	z-index: 1;
}

.card.event .content {
	align-items: flex-start;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	min-width: 0;
	padding-left: var(--text-spacing-xsmall);
}

.card.event .text {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
}

.card.event .text > * {
	margin: 0;
}

.card.event .text > * + * {
	margin-top: var(--text-spacing-xxsmall);
}

a.card.event .heading-4 {
	transition: color .3s ease;
}

a.card.event:hover .heading-4 {
	color: #3D5A72;
}

/** Card: Animal **/

.card.animal {
	border-radius: 0;
	overflow: visible;
	position: relative;
}

/* Grid layout lets the foster-badge live as a DOM sibling of .media so it can
   flow below the image on mobile, while still overlaying the image on desktop
   by sharing the "media" grid-area. */

.card.animal .card-link {
	color: inherit;
	display: grid;
	gap: var(--text-spacing-small);
	grid-template-areas:
		"media"
		"text";
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	height: 100%;
	justify-items: start;
	text-decoration: none;
}

.card.animal .media {
	aspect-ratio: 1 / 1;
	background: var(--appaloosa-beige);
	border-radius: var(--border-radius-normal);
	grid-area: media;
	width: 100%;
}

.card.animal .media .pill {
	left: var(--text-spacing-xxsmall);
	max-width: calc(100% - var(--text-spacing-xxsmall) - var(--text-spacing-xxsmall));
	position: absolute;
	top: var(--text-spacing-xxsmall);
	z-index: 1;
}

.card.animal .media img {
	transition: transform .4s ease;
}

.card.animal .card-link:hover .media img {
	transform: scale(1.05);
}

.card.animal .text-and-button {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
	grid-area: text;
	width: 100%;
}

.card.animal .name-and-description {
	transition: transform .3s ease;
}

.card.animal .name-and-description p {
	margin: 0;
}

.card.animal .btn.tertiary {
	border-bottom: none;
	margin-top: auto;
	padding-bottom: 4px;
	position: relative;
}

.card.animal .btn.tertiary::after {
	background: var(--goldie-yellow);
	bottom: 0;
	content: '';
	height: 2px;
	left: 0;
	position: absolute;
	transition: background .3s ease, transform .3s ease;
	width: 100%;
}

.card.animal .card-link:hover .name-and-description {
	transform: translateY(-8px);
}

.card.animal .heading-6,
.card.animal h6 {
	transition: color .3s ease;
}

.card.animal .card-link:hover .heading-6,
.card.animal .card-link:hover h6 {
	color: #3D5A72;
}

.card.animal .card-link:hover .btn.tertiary {
	color: var(--russian-blue-hover);
}

.card.animal .card-link:hover .btn.tertiary::after {
	background: var(--goldie-yellow-hover);
	transform: translateY(-2px);
}

/* Animal no-photo placeholder — fills .media with a species SVG illustration
   and "Photo coming soon" message. */

.animal-card-placeholder {
	align-items: center;
	background: var(--appaloosa-beige);
	border-radius: inherit;
	color: var(--grayhound);
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	height: 100%;
	justify-content: center;
	left: 0;
	padding: var(--text-spacing-small);
	position: absolute;
	text-align: center;
	top: 0;
	width: 100%;
}

.animal-card-placeholder-icon {
	flex-shrink: 0;
	height: 100px;
	width: 100px;
}

.animal-card-placeholder-icon svg {
	display: block;
	height: 100%;
	width: 100%;
}

/* Logo fallback (non-cat/dog/horse) — wider than the square animal icons. */

.animal-card-placeholder-icon.is-logo {
	height: auto;
	max-width: 175px;
	width: 60%;
}

.animal-card-placeholder-icon.is-logo svg {
	height: auto;
}

.animal-card-placeholder-text {
	font-size: calc(24rem / 16);
	font-weight: 600;
	letter-spacing: 0.3px;
	line-height: calc(34 / 24);
}

.animal-card-placeholder-text p {
	margin: 0;
}

.animal-card-placeholder-text .highlight {
	color: var(--mustang-blue);
}

/* "Foster Home Needed" pill — sibling of .media; shares the "media" grid-area
   to overlay the image on desktop (bottom-right). On mobile in
   .animals-browse-grid it gets its own grid-area so it flows below the image. */

.card.animal .foster-badge {
	align-self: end;
	grid-area: media;
	justify-self: end;
	margin: 0 var(--text-spacing-xxsmall) var(--text-spacing-xxsmall) 0;
	z-index: 2;
}

/* "I'm in a foster home" sticker — circular badge overlaying the image
   bottom-right (mirrors .single-animal-foster-badge, scaled for cards).
   Mutually exclusive with .foster-badge, so they can share the corner. */

.card.animal .in-foster-badge {
	align-items: center;
	align-self: end;
	aspect-ratio: 1;
	background: var(--husky-blue);
	border-radius: 50%;
	color: var(--russian-blue);
	display: flex;
	font-size: calc(12rem / 16);
	font-weight: 700;
	grid-area: media;
	justify-content: center;
	justify-self: end;
	letter-spacing: 0.4px;
	line-height: 1.25;
	margin: 0 var(--text-spacing-xxsmall) var(--text-spacing-xxsmall) 0;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
	width: 88px;
	z-index: 2;
}

/* The [featured_animal] shortcode card is the <a> itself (no .card-link grid
   wrapper). Give it the same media/text grid so a status badge overlays the
   image like the other animal cards. */

.card.animal.shortcode {
	display: grid;
	grid-template-areas:
		"media"
		"text";
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	justify-items: start;
}

/* Favorite button — positioned inside .card.animal */

.card.animal .favorite-btn {
	position: absolute;
	right: var(--text-spacing-xxsmall);
	top: var(--text-spacing-xxsmall);
	z-index: 2;
}

/** Favorite button — global component **/

/* no-JS: heart buttons on cards are dead controls without localStorage. Header
   "Your Favorited Pets" link stays — it leads to a page that explains JS is required. */
.no-js .favorite-btn {
	display: none;
}

/** JazzyTooltip — instant-show tooltip, replaces the slow native title tooltip. See jazzytooltip.js. **/

.jazzy-tooltip {
	background: var(--russian-blue);
	border-radius: var(--border-radius-normal);
	color: var(--samoyed-white);
	font-family: var(--body-font);
	font-size: calc(13rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(18 / 13);
	padding: 6px 10px;
	pointer-events: none;
	position: fixed;
	white-space: nowrap;
	z-index: 9999;
}

.jazzy-tooltip[hidden] {
	display: none;
}

/* Caret pointing down to the trigger (default — tooltip above) */
.jazzy-tooltip::after {
	border: 5px solid transparent;
	border-top-color: var(--russian-blue);
	bottom: -10px;
	content: "";
	left: 50%;
	margin-left: -5px;
	position: absolute;
}

/* When tooltip flips below trigger, point caret up */
.jazzy-tooltip.place-bottom::after {
	border-bottom-color: var(--russian-blue);
	border-top-color: transparent;
	bottom: auto;
	top: -10px;
}

.favorite-btn {
	align-items: center;
	background: rgba(255, 255, 255, 0.25);
	border: none;
	border-radius: 50%;
	box-shadow: none;
	color: var(--samoyed-white);
	cursor: pointer;
	display: flex;
	height: 36px;
	justify-content: center;
	transition: background .2s ease, color .2s ease, transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
	width: 36px;
}

.favorite-btn svg,
.favorite-btn .heart-outline,
.favorite-btn .heart-solid {
	align-items: center;
	display: flex;
	height: 16px;
	justify-content: center;
	width: 16px;
}

.favorite-btn svg {
	transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Outline visible by default, solid hidden */

.favorite-btn .heart-outline {
	display: none;
}

/* Saved: solid visible, outline hidden */

.favorite-btn.is-saved .heart-outline {
	display: none;
}

.favorite-btn.is-saved .heart-solid {
	display: block;
}

.favorite-btn:hover {
	background: rgba(255, 255, 255, 0.5);
}

.favorite-btn:active svg {
	transform: scale(0.8);
}

.favorite-btn.is-saved {
	background: var(--mustang-blue);
	color: var(--samoyed-white);
}

.favorite-btn.is-saved:hover {
	background: var(--mustang-blue-hover);
}

.favorite-btn.is-saved svg {
	animation: favorite-pop .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes favorite-pop {
	0% { transform: scale(0.5); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

/** Image zoom **/

.image-zoom {
	overflow: hidden;
}

.image-zoom > img,
.image-zoom > picture {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: all .25s ease;
	width: 100%;
}

.tablet-only,
.mobile-only {
	display: none !important;
}

/*** Carousels ***/

.carousel,
.slide {
	height: 100%;
}

.carousel {
	margin: 0 var(--viewport-edge);
	overflow: visible;
	padding: 0 calc(var(--container-outer-margin) + var(--container-outer-padding));
	position: relative;
	width: 100vw;
}

.arrows,
.jazzy-arrows {
	align-items: center;
	display: flex;
	gap: 12px;
}

.arrows button,
.jazzy-arrows button {
	align-items: center;
	background: none;
	border: 1.5px solid var(--mustang-blue);
	border-radius: 40px;
	color: var(--retriever-black);
	cursor: pointer;
	display: flex;
	height: var(--text-spacing-xlarge);
	justify-content: center;
	padding: 0;
	transition: all .25s ease;
	width: var(--text-spacing-xlarge);
}

.arrows button:hover,
.jazzy-arrows button:hover {
	background: var(--mustang-blue);
	color: var(--samoyed-white);
}

.arrows button[disabled],
.jazzy-arrows button[disabled] {
	opacity: 0.4;
	pointer-events: none;
}

/*** JazzyCarousel ***/

.jazzy-carousel-wrapper {
	position: relative;
}

.jazzy-carousel {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
	will-change: transform;
}

.jazzy-carousel.jazzy-static {
	gap: var(--gap);
	transition: none;
	will-change: auto;
}

.jazzy-carousel.jazzy-static > * {
	flex: 1;
	min-width: 0;
}

.jazzy-carousel.is-dragging {
	cursor: grabbing;
	transition: none;
	user-select: none;
}

.jazzy-carousel.jazzy-fade {
	display: grid;
}

.jazzy-carousel.jazzy-fade > *:not([data-jazzy-carousel-exclude]):not(.jazzy-pause):not(.jazzy-arrows):not(.jazzy-dots) {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.jazzy-carousel.jazzy-fade > *:not([data-jazzy-carousel-exclude]):not(.jazzy-pause):not(.jazzy-arrows):not(.jazzy-dots).is-active,
.jazzy-carousel.jazzy-fade.jazzy-static > *:not([data-jazzy-carousel-exclude]):not(.jazzy-pause):not(.jazzy-arrows):not(.jazzy-dots) {
	opacity: 1;
}

.jazzy-pause {
	align-items: center;
	background: rgba(0, 0, 0, 0.25);
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 28px;
	justify-content: center;
	position: absolute;
	right: var(--text-spacing-xxsmall);
	top: var(--text-spacing-xxsmall);
	width: 28px;
	z-index: 2;
}

.jazzy-pause:hover {
	background: rgba(0, 0, 0, 0.6);
}

.jazzy-prev:disabled,
.jazzy-next:disabled {
	opacity: 0.4;
	pointer-events: none;
}

.jazzy-dots {
	display: flex;
	gap: var(--text-spacing-xsmall);
	justify-content: center;
	margin-top: var(--text-spacing-small);
}

.jazzy-dot {
	background: var(--wolfhound-gray);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	height: 6px;
	padding: 0;
	position: relative;
	transition: background 0.25s ease;
	width: 6px;
}

.jazzy-dot:hover {
	background: var(--goldie-yellow);
}

.jazzy-dot::before {
	border: 2px solid var(--goldie-yellow);
	border-radius: 50%;
	content: '';
	height: 16px;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: scale(0.9);
	transition: opacity 0.25s ease, transform 0.25s ease;
	translate: -50% -50%;
	width: 16px;
}

.jazzy-dot.is-active::before {
	opacity: 1;
	transform: scale(1);
}

/*** Background Shapes ***/

.background-shape {
	color: var(--pitty-off-white);
	font-size: 0;
	line-height: 0;
	overflow: hidden;
	pointer-events: none;
	position: relative;
	width: 100%;
	z-index: -1;
}

.background-shape svg {
	display: block;
	height: auto;
	margin-bottom: -1px;
	width: 100%;
}

/* Outside top — reorder before content */

:has(> .background-shape.shape-outside.shape-top) {
	display: flex;
	flex-direction: column;
}

.background-shape.shape-outside.shape-top {
	order: -1;
}

/* Inside — overlaps the module content */

.background-shape.shape-inside {
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 1;
}

.background-shape.shape-inside.shape-top {
	top: 0;
}

.background-shape.shape-inside.shape-bottom {
	bottom: 0;
}

/* Color modifiers */

.background-shape.appaloosa-beige {
	color: var(--appaloosa-beige);
}

.background-shape.russian-blue {
	color: var(--russian-blue);
}

/*** Animal Shape Illustrations ***/

.module {
	position: relative;
	z-index: 0;
}

.module:has(> .module-animal-shape) {
	z-index: auto;
}

.module-animal-shape {
	--animal-shape-offset: 0px;
	bottom: calc(100% - var(--module-spacing-small));
	color: var(--appaloosa-beige);
	pointer-events: none;
	position: absolute;
	width: 200px;
	z-index: -1;
}

.module-animal-shape svg {
	display: block;
	height: auto;
	width: 100%;
}

.module-animal-shape svg path {
	fill: currentColor;
}

.module-animal-shape-right {
	right: var(--animal-shape-offset);
}

.module-animal-shape-left {
	left: var(--animal-shape-offset);
	transform: scaleX(-1);
}

/** Background Variations **/

.module-animal-shape {
	color: var(--appaloosa-beige);
}

/** Animal Offets **/

.module-animal-shape.animal-cat {
	--animal-shape-offset: -40px;
	rotate: 6deg;
	width: 300px;
}

.module-animal-shape.animal-chicken {
	rotate: -4deg;
	width: 200px;
}

.module-animal-shape.animal-horse {
	--animal-shape-offset: 120px;
	rotate: 1.5deg;
	width: 292px;
}

.module-animal-shape.animal-labrador {
	--animal-shape-offset: -40px;
	rotate: -4deg;
	width: 280px;
}

.module-animal-shape.animal-pig {
	rotate: 2deg;
	width: 340px;
}

.module-animal-shape.animal-pitbull {
	--animal-shape-offset: -40px;
	rotate: -4deg;
	width: 424px;
}

.module-animal-shape.animal-rabbit {
	width: 350px;
}

.module-animal-shape.animal-sheep {
	--animal-shape-offset: 10px;
	rotate: 10deg;
	width: 320px;
}

/** Animal shape ↔ top curve interaction **/

/* Each top-curve variant publishes its rendered height onto the parent
   module via :has(). Curves use preserveAspectRatio="none" and stretch to
   100% width, so the rendered height is (viewBox-h / 1440) * 100vw at any
   viewport. */

.module:has(> .background-shape.background-shape-curve-1-top.shape-outside) {
	--module-top-curve-height: calc(100 / 1440 * 100vw);
}

.module:has(> .background-shape.background-shape-curve-2-top.shape-outside) {
	--module-top-curve-height: calc(84 / 1440 * 100vw);
}

/* Animal shapes on a module with a top outside curve sit anchored to the
   curve's bottom edge, with an 8px tuck for a slight visual overlap.
   Modules / animals that want different positioning (e.g. pitbull's high
   float) override with higher specificity. */

.module:has(> .background-shape.shape-outside.shape-top) > .module-animal-shape {
	bottom: calc(100% - var(--module-top-curve-height, 0px) + 8px);
}

/*** Back Link ***/

.back-link {
	margin: var(--text-spacing-medium) 0 var(--text-spacing-medium) var(--text-spacing-xxlarge);
}

/*** Buttons ***/

/* Base — only shared properties (font, weight, transition) */

.btn {
	background: none;
	border: none;
	border-radius: 0;
	cursor: pointer;
	font-family: var(--body-font);
	font-size: calc(18rem / 16);
	font-weight: 600;
	line-height: calc(24 / 18);
	padding: 0;
	transition: all .25s ease;
}

.buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--text-spacing-xsmall);
}

.buttons.wide {
	gap: var(--text-spacing-medium);
}

.btn.primary {
	background: var(--mustang-blue);
	border: 2px solid var(--mustang-blue);
	border-radius: var(--border-radius-normal);
	color: var(--samoyed-white);
	display: inline-block;
	padding: 13px 24px 14px;
	text-align: center;
}

.btn.primary .icon {
	font-size: 0.85em;
	margin-left: var(--text-spacing-xxsmall);
}

.btn.primary:hover {
	background: var(--mustang-blue-hover);
	border-color: var(--mustang-blue-hover);
}

.btn.primary.goldie-yellow {
	background: var(--goldie-yellow);
	border-color: var(--goldie-yellow);
	color: var(--retriever-black); /* keep dark text — white fails on yellow */
}

.btn.primary.goldie-yellow:hover {
	background: var(--goldie-yellow-hover);
	border-color: var(--goldie-yellow-hover);
}

.btn.secondary {
	align-items: center;
	background: transparent;
	color: var(--russian-blue);
	display: inline-flex;
	gap: 10px;
	transition: color .3s ease;
}

.btn.secondary:not(.white):not(.blue):hover {
	color: #3D5A72;
}

.btn.secondary:hover .arrow-block {
	background: var(--goldie-yellow-hover);
	transform: translateX(3px);
}

.btn.secondary.back-link:hover .arrow-block {
	transform: translateX(-3px);
}

.arrow-block {
	align-items: center;
	background: var(--goldie-yellow);
	border-radius: var(--border-radius-normal);
	color: var(--retriever-black);
	display: flex;
	height: 32px;
	justify-content: center;
	transition: background .25s ease, transform .25s ease;
	width: 32px;
}

.arrow-block svg {
	font-size: calc(12rem / 16);
}

.btn.secondary.blue {
	color: var(--samoyed-white);
}

.btn.secondary.blue .arrow-block,
.arrow-block.blue {
	background: var(--mustang-blue);
	color: var(--samoyed-white); /* white arrow on the blue block */
}

.btn.secondary.blue:hover .arrow-block {
	background: var(--mustang-blue-hover);
}

.btn.secondary.white {
	color: var(--samoyed-white);
}

.btn.tertiary {
	background: none;
	border-bottom: 2px solid var(--goldie-yellow);
	border-radius: 0;
	color: inherit;
	display: inline-block;
	font-size: calc(15rem / 16);
	letter-spacing: 0.2px;
	padding-bottom: 2px;
	transition: padding-bottom .25s ease, border-color .25s ease, color .25s ease;
}

.btn.tertiary:hover {
	border-color: var(--goldie-yellow-hover);
	color: var(--russian-blue-hover);
	padding-bottom: 0;
}

.btn.text-arrow {
	align-items: center;
	background: none;
	color: inherit;
	display: inline-flex;
	gap: 6px;
	letter-spacing: 0.2px;
}

.btn.text-arrow::after {
	content: url("data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%226%22%20viewBox%3D%220%200%2014%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.393%206H9.45845C9.98311%204.90769%2010.5242%204.07692%2011.0324%203.53846H0V2.44615H11.0324C10.5078%201.90769%209.98311%201.07692%209.45845%200H10.393C11.5407%201.26154%2012.7539%202.18462%2014%202.78462V3.21538C12.7539%203.81538%2011.5407%204.73846%2010.393%206Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E");
	position: relative;
	top: -2px;
}

.btn.text-arrow.external::after {
	content: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7.5%200H12V4.5H10.5V2.56L5.28%207.78L4.22%206.72L9.44%201.5H7.5V0ZM0%201.5H4.5V3H1.5V10.5H9V7.5H10.5V12H0V1.5Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E");
	top: 0;
}

.btn.text-arrow:hover {
	color: var(--mustang-blue);
}

.btn.refresh {
	align-items: center;
	background: transparent;
	color: var(--russian-blue);
	display: inline-flex;
	gap: 10px;
}

.btn.refresh:hover {
	opacity: 0.8;
}

.btn.refresh .refresh-block {
	align-items: center;
	background: var(--goldie-yellow);
	border-radius: var(--border-radius-normal);
	color: var(--russian-blue);
	display: flex;
	font-size: calc(13rem / 16);
	justify-content: center;
	padding: 10px 9px 9px 10px;
	transition: background .25s ease;
}

.btn.refresh .refresh-block svg {
	transition: transform .3s ease;
}

.btn.refresh:hover .refresh-block {
	background: var(--goldie-yellow-hover);
}

.btn.refresh:hover .refresh-block svg {
	transform: rotate(180deg);
}

.btn.icon {
	align-items: center;
	border-radius: 100%;
	display: flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	width: 36px;
}

.btn.icon.small {
	height: 32px;
	width: 32px;
}

.btn.icon.small svg {
	height: 14px;
	width: 14px;
}

.btn.icon.xsmall {
	height: 26px;
	padding: 0;
	width: 26px;
}

.btn.icon.xsmall svg {
	height: 11px;
	width: 11px;
}

.btn.icon.medium {
	height: 40px;
	width: 40px;
}

.btn.icon.medium svg {
	height: 16px;
	width: 16px;
}

.btn.icon.large {
	height: 48px;
	width: 48px;
}

.btn.icon.large svg {
	height: 20px;
	width: 20px;
}

/* Icon button color variants */

.btn.icon.wolfhound-gray {
	background: var(--wolfhound-gray);
	color: var(--russian-blue);
}

.btn.icon.husky-blue-25 {
	background: var(--husky-blue-25);
	color: var(--russian-blue);
}

.btn.icon.goldie-yellow {
	background: var(--goldie-yellow);
	color: var(--russian-blue);
}

.btn.icon.mustang-blue {
	background: var(--mustang-blue);
	color: var(--samoyed-white);
}

.btn.icon.russian-blue {
	background: var(--russian-blue);
	color: var(--samoyed-white);
}

/* Dark background button overrides */

.background-russian-blue .btn.secondary,
.background-mustang-blue .btn.secondary,
.background-image .btn.secondary {
	color: var(--samoyed-white);
}

.background-russian-blue .btn.secondary .arrow-block,
.background-mustang-blue .btn.secondary .arrow-block,
.background-image .btn.secondary .arrow-block {
	background: var(--mustang-blue);
	color: var(--samoyed-white); /* white arrow on the blue block */
}

.background-russian-blue .btn.tertiary,
.background-mustang-blue .btn.tertiary,
.background-image .btn.tertiary {
	color: var(--samoyed-white);
}

/*** Form Styles ***/

.gform_fields {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
}

input[type=email],
input[type=number],
input[type=text],
input[type=tel],
select,
textarea {
	background: var(--samoyed-white);
	border: 1px solid var(--wolfhound-gray);
	border-radius: var(--border-radius-normal);
	color: var(--retriever-black);
	font-family: var(--body-font);
	font-size: calc(16rem / 16);
	line-height: calc(24 / 16);
	padding: 14px 20px;
}

select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23E6E9EB'/%3E%3Cpath d='M9 11.5l3 3 3-3' stroke='%2303071D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	cursor: pointer;
	padding-right: 48px;
}

select.subtle {
	background-color: transparent;
	background-position: right 0 center;
	border: none;
	border-radius: 0;
	color: var(--grayhound);
	font-size: calc(14rem / 16);
	padding: var(--text-spacing-xxsmall) var(--text-spacing-large) var(--text-spacing-xxsmall) 0;
}

input[type=email]:focus,
input[type=number]:focus,
input[type=text]:focus,
input[type=tel]:focus,
select:focus,
textarea:focus {
	border-color: var(--husky-blue-50);
	outline: 2px solid var(--husky-blue-50);
	outline-offset: -1px;
}

input[type=email]::placeholder,
input[type=number]::placeholder,
input[type=text]::placeholder,
input[type=tel]::placeholder,
select::placeholder,
textarea::placeholder,
select:invalid /*Mark your selects as 'required' to get 'placeholder' styling!*/ {
	color: var(--grayhound);
	opacity: 1;
}

/* File Input */

input[type=file] {
	font-family: var(--body-font);
	font-size: calc(14rem / 16);
}

input[type=file]::file-selector-button {
	background: var(--samoyed-white);
	border: 1px solid var(--wolfhound-gray);
	border-radius: var(--border-radius-normal);
	color: var(--retriever-black);
	cursor: pointer;
	font-family: var(--body-font);
	font-size: calc(14rem / 16);
	font-weight: 600;
	line-height: calc(20 / 14);
	margin-right: var(--text-spacing-xsmall);
	padding: 10px 20px;
	transition: background .2s ease, border-color .2s ease;
}

input[type=file]::file-selector-button:hover {
	background: var(--wolfhound-gray);
	border-color: var(--grayhound);
}

/* Gravity Forms — field layout */

.gform_fields {
	gap: var(--text-spacing-medium);
}

.gfield {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
}

.gfield_label,
.gform-field-label {
	color: var(--russian-blue);
	font-size: calc(15rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(20 / 15);
	pointer-events: none;
}

.gfield_required {
	color: var(--grayhound);
	font-size: 0;
}

.gfield_required_text::after {
	content: '*';
	font-size: calc(15rem / 16);
}

/* Gravity Forms — complex fields (address, name) */

.gfield--type-name > legend,
.gfield--type-address > legend {
	display: none !important;
}

/* Rename "First" → "First Name", "Last" → "Last Name" */

.gfield--type-name label[for$="_3"],
.gfield--type-name label[for$="_6"] {
	font-size: 0;
}

.gfield--type-name label[for$="_3"]::after {
	content: 'First Name *';
	font-size: calc(15rem / 16);
}

.gfield--type-name label[for$="_6"]::after {
	content: 'Last Name *';
	font-size: calc(15rem / 16);
}

/* Add required asterisk to address street field */

.gfield--type-address.gfield_contains_required label[for$="_1"]::after {
	color: var(--grayhound);
	content: ' *';
}

.ginput_complex {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-small);
}

.gfield--type-name .ginput_complex {
	flex-direction: row;
}

.gfield--type-name .ginput_complex > span {
	flex: 1;
}

.ginput_complex > span {
	display: flex;
	flex-direction: column-reverse;
	gap: 4px;
}

.ginput_complex > span > label {
	color: var(--russian-blue);
	font-size: calc(15rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(20 / 15);
	order: 2;
}

/* Gravity Forms — list field (table → stacked cards) */

.gfield--type-list .gfield_list_header {
	display: none;
}

.gfield--type-list .gfield_list_groups {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-small);
}

.gfield--type-list .gfield_list_group {
	display: grid;
	gap: var(--text-spacing-small);
	grid-template-columns: 1fr 1fr;
	position: relative;
}

.gfield--type-list .gfield_list_group::before {
	color: var(--grayhound);
	content: 'Item ' counter(item-counter);
	counter-increment: item-counter;
	font-size: calc(14rem / 16);
	font-weight: 700;
	grid-column: 1 / -1;
	letter-spacing: 1.6px;
	margin-top: var(--text-spacing-medium);
	text-transform: uppercase;
}

.gfield--type-list .gfield_list_group:first-child::before {
	margin-top: var(--text-spacing-small);
}

.gfield--type-list .gfield_list_group_item:nth-child(n+3) {
	grid-column: 1 / -1;
}

.gfield--type-list .gfield_list_icons {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-small);
	grid-column: 1 / -1;
}


.gfield--type-list .gfield_list_group:not(:last-child) .add_list_item {
	display: none;
}

.gfield--type-list .add_list_item {
	align-items: center;
	background: transparent;
	border: none;
	color: var(--russian-blue);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--body-font);
	font-size: calc(15rem / 16);
	font-weight: 600;
	gap: 10px;
	letter-spacing: 0.2px;
	padding: 0;
}

.gfield--type-list .add_list_item::before {
	align-items: center;
	background: var(--goldie-yellow);
	border-radius: var(--border-radius-normal);
	content: '+';
	display: flex;
	font-size: calc(18rem / 16);
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 24px;
	padding-bottom: 3px;
	transition: background .25s ease;
	width: 24px;
}

.gfield--type-list .add_list_item:hover::before {
	background: var(--goldie-yellow-hover);
}

.gfield--type-list .add_list_item:hover {
	opacity: 0.8;
}

.gfield--type-list .delete_list_item {
	background: none;
	border: none;
	border-radius: 0;
	color: var(--grayhound);
	cursor: pointer;
	font-family: var(--body-font);
	font-size: calc(13rem / 16);
	font-weight: 500;
	letter-spacing: 0.2px;
	padding: 0 0 1px;
	position: absolute;
	right: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	top: calc(var(--text-spacing-medium) + 3px);
	transition: color .25s ease;
}

.gfield--type-list .delete_list_item:hover {
	color: var(--russian-blue);
}

.gfield--type-list .gfield_list_groups {
	counter-reset: item-counter;
}

.gfield--type-list .gfield_list_group_item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gfield--type-list .gfield_list_group_item::before {
	color: var(--russian-blue);
	content: attr(data-label);
	font-size: calc(15rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(20 / 15);
}

/* Gravity Forms — section titles */

.gfield--type-section {
	margin-top: var(--text-spacing-xlarge);
}

.gsection_title {
	font-size: calc(26rem / 16);
	line-height: calc(32 / 26);
	margin: 0;
}

.gfield_description,
.ginput_counter,
.gfield .screen-reader-text {
	color: var(--grayhound);
	font-size: calc(14rem / 16);
	line-height: calc(22 / 14);
	margin-top: 4px;
}

.gfield .screen-reader-text {
	clip: unset;
	clip-path: unset;
	display: block;
	height: auto;
	overflow: visible;
	position: static;
	width: auto;
}

/* Gravity Forms — textarea */

.ginput_container_textarea textarea {
	min-height: 120px;
	resize: vertical;
}

/* Gravity Forms — checkbox, radio, consent */

.gfield--type-checkbox > legend,
.gfield--type-radio > legend,
.gfield--type-consent > legend {
	margin-bottom: var(--text-spacing-xsmall);
	padding: 0;
}

fieldset.gfield {
	-webkit-margin-start: 0;
	-webkit-padding-start: 0;
	border: none;
	margin: 0;
	margin-inline-start: 0;
	min-inline-size: 0;
	padding: 0;
	padding-inline-start: 0;
}

fieldset.gfield > legend {
	display: block;
	margin-inline-start: 0;
	padding: 0;
	padding-inline-start: 0;
	width: 100%;
}

.gfield--type-checkbox .gfield_checkbox,
.gfield--type-radio .gfield_radio {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.gfield--type-checkbox .gchoice,
.gfield--type-radio .gchoice {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-xxsmall);
}

.gform_wrapper.gravity-theme .gfield--type-checkbox .gchoice,
.gform_wrapper.gravity-theme .gfield--type-radio .gchoice,
.gform_wrapper .gfield--type-choice .gchoice,
.gform-theme--framework .gfield--type-choice .gchoice {
	display: flex !important;
	grid-template-columns: unset !important;
}

.gfield--type-checkbox input[type="checkbox"],
.gfield--type-radio input[type="radio"],
.gfield--type-consent input[type="checkbox"] {
	accent-color: var(--mustang-blue);
	height: 18px;
	width: 18px;
}

.ginput_container_consent {
	align-items: flex-start;
	display: flex;
	gap: var(--text-spacing-xxsmall);
}

.ginput_container_consent label {
	flex-shrink: 0;
}

/* Gravity Forms — file upload */

.ginput_container_fileupload .gform_drop_area {
	align-items: center;
	background: var(--pitty-off-white);
	border: 2px dashed var(--wolfhound-gray);
	border-radius: var(--border-radius-normal);
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	padding: var(--text-spacing-large);
	text-align: center;
}

.ginput_container_fileupload .gform_drop_area .gform_button_select_files {
	background: var(--mustang-blue);
	border: 2px solid var(--mustang-blue);
	border-radius: var(--border-radius-normal);
	color: var(--samoyed-white);
	cursor: pointer;
	font-family: var(--body-font);
	font-size: calc(15rem / 16);
	font-weight: 600;
	padding: 10px 20px;
	transition: all .25s ease;
}

.ginput_container_fileupload .gform_drop_area .gform_button_select_files:hover {
	background: var(--mustang-blue-hover);
	border-color: var(--mustang-blue-hover);
}

/* Gravity Forms — multi-column layout (half-width fields) */

.gform_fields.top_label {
	flex-wrap: wrap;
}

.gfield--width-half {
	flex: 0 0 calc(50% - var(--text-spacing-small) / 2);
}

/* Gravity Forms — multi-page progress bar */

.gf_progressbar_wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	margin-bottom: var(--text-spacing-medium);
}

.gf_progressbar_title {
	color: var(--russian-blue);
	font-size: calc(15rem / 16);
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: calc(20 / 15);
	margin: 0;
}

.gf_progressbar_title .gf_step_page_name:not(:empty)::before {
	content: ' — ';
}

.gf_progressbar {
	background: var(--wolfhound-gray);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

.gf_progressbar_percentage {
	background: var(--mustang-blue);
	border-radius: inherit;
	height: 100%;
	transition: width .4s ease;
}

.gf_progressbar_percentage span {
	display: none;
}

/* Gravity Forms — submit button (uses .btn.primary pattern) */

.gform_footer,
.gform_page_footer {
	margin-top: var(--text-spacing-small);
}

input.gform_button,
input.gform_next_button,
input.gform_previous_button,
.gform_button,
.gform_next_button,
.gform_previous_button {
	background: var(--mustang-blue);
	border: 2px solid var(--mustang-blue);
	border-radius: 6px;
	color: var(--samoyed-white);
	cursor: pointer;
	font-family: var(--body-font);
	font-size: calc(18rem / 16);
	font-weight: 600;
	line-height: calc(24 / 18);
	padding: 13px 24px 14px;
	transition: all .25s ease;
}

.gform_button:hover,
.gform_next_button:hover {
	background: var(--mustang-blue-hover);
	border-color: var(--mustang-blue-hover);
}

.gform_previous_button {
	background: transparent;
	border-color: var(--wolfhound-gray);
	color: var(--russian-blue);
}

.gform_previous_button:hover {
	border-color: var(--russian-blue);
}

/* Gravity Forms — datepicker */

.ginput_container_date {
	position: relative;
}

.ui-datepicker-trigger {
	cursor: pointer;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
}

.ui-datepicker {
	background: var(--samoyed-white);
	border: 1px solid var(--wolfhound-gray);
	border-radius: var(--border-radius-normal);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	display: none;
	font-size: calc(14rem / 16);
	margin-top: 8px;
	max-width: calc(100vw - var(--text-spacing-medium));
	padding: var(--text-spacing-xsmall);
	width: 320px;
}

/* jQuery UI emits prev, next, then the month/year selects, so every cell is
   placed explicitly rather than following source order. */
.ui-datepicker-header {
	align-items: center;
	display: grid;
	gap: var(--text-spacing-xxsmall);
	grid-template-columns: 32px 1fr 32px;
	margin-bottom: var(--text-spacing-xsmall);
}

.ui-datepicker-title {
	display: flex;
	gap: var(--text-spacing-xxsmall);
	grid-column: 2;
	grid-row: 1;
}

/* The global select padding and chevron are sized for full-width form fields;
   at that size the month and year run past the edge of the calendar. */
.ui-datepicker-header select {
	background-position: right 6px center;
	background-size: 18px;
	font-size: calc(14rem / 16);
	min-width: 0;
	padding: 6px 28px 6px 10px;
	width: 100%;
}

.ui-datepicker-prev,
.ui-datepicker-next {
	align-items: center;
	border-radius: 50%;
	color: var(--russian-blue);
	cursor: pointer;
	display: flex;
	grid-row: 1;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.ui-datepicker-prev {
	grid-column: 1;
}

.ui-datepicker-next {
	grid-column: 3;
}

/* jQuery UI writes the words "Prev" and "Next" into .ui-icon for its own
   sprite to sit over, so the labels have to be taken out before the arrows go in. */
.ui-datepicker .ui-icon {
	display: none;
}

.ui-datepicker-prev::before {
	content: '\2190';
}

.ui-datepicker-next::before {
	content: '\2192';
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
	background: var(--husky-blue-25);
	color: var(--mustang-blue);
}

.ui-datepicker-prev.ui-state-disabled,
.ui-datepicker-next.ui-state-disabled {
	color: var(--wolfhound-gray);
	cursor: default;
	pointer-events: none;
}

.ui-datepicker table {
	border-collapse: collapse;
	width: 100%;
}

.ui-datepicker th {
	color: var(--grayhound);
	font-size: calc(12rem / 16);
	font-weight: 700;
	letter-spacing: 1px;
	padding-bottom: var(--text-spacing-xxsmall);
	text-align: center;
	text-transform: uppercase;
}

.ui-datepicker td {
	padding: 1px;
	text-align: center;
}

.ui-datepicker td a,
.ui-datepicker td span {
	border-radius: var(--border-radius-normal);
	color: var(--retriever-black);
	display: block;
	line-height: 36px;
	text-decoration: none;
}

.ui-datepicker td a:hover {
	background: var(--husky-blue-25);
	color: var(--russian-blue);
}

.ui-datepicker td.ui-datepicker-today a {
	background: var(--husky-blue-25);
	font-weight: 700;
}

.ui-datepicker td a.ui-state-active {
	background: var(--russian-blue);
	color: var(--samoyed-white);
}

.ui-datepicker td.ui-datepicker-other-month span,
.ui-datepicker td.ui-state-disabled span {
	color: var(--grayhound);
	opacity: 0.5;
}

.ui-datepicker a:focus-visible,
.ui-datepicker select:focus-visible,
.ui-datepicker-trigger:focus-visible {
	box-shadow: 0 0 0 2px var(--samoyed-white);
	outline: 2px solid var(--russian-blue);
	outline-offset: 2px;
}

/* Gravity Forms 3 — datepicker. GF 3 swapped jQuery UI for an accessible
   calendar with its own markup: a toggle button after the input, and a
   dialog holding a table whose first two rows are year and month navigation
   (arrow, select, arrow), then weekday headers and day cells. */

input.datepicker_with_icon {
	padding-right: 52px;
}

.gform-datepicker-toggle {
	background: none;
	border: 0;
	color: var(--russian-blue);
	cursor: pointer;
	padding: 0;
	position: absolute;
	right: 20px;
	top: 26px;
	transform: translateY(-50%);
}

.gform-datepicker-toggle:hover {
	color: var(--mustang-blue);
}

.gform-datepicker-toggle-icon {
	display: block;
}

.gform-datepicker-calendar {
	background: var(--samoyed-white);
	border: 1px solid var(--wolfhound-gray);
	border-radius: var(--border-radius-normal);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	font-size: calc(14rem / 16);
	left: 0;
	max-width: calc(100vw - var(--text-spacing-medium));
	padding: var(--text-spacing-xsmall);
	position: absolute;
	top: calc(100% + 8px);
	width: 320px;
	z-index: 10;
}

.gform-datepicker-calendar table.calendar {
	border-collapse: collapse;
	width: 100%;
}

.gform-datepicker-calendar td.nav {
	border-radius: 50%;
	color: var(--russian-blue);
	cursor: pointer;
	font-size: calc(18rem / 16);
	height: 32px;
	line-height: 32px;
	text-align: center;
	width: 32px;
}

.gform-datepicker-calendar td.nav:hover {
	background: var(--husky-blue-25);
	color: var(--mustang-blue);
}

.gform-datepicker-calendar td.nav.disabled {
	color: var(--wolfhound-gray);
	cursor: default;
	pointer-events: none;
}

.gform-datepicker-calendar td.year,
.gform-datepicker-calendar td.month {
	padding: 0 var(--text-spacing-xxsmall) var(--text-spacing-xxsmall);
}

/* The global select padding and chevron are sized for full-width form fields;
   at that size the month and year run past the edge of the calendar. */
.gform-datepicker-calendar select {
	background-position: right 6px center;
	background-size: 18px;
	font-size: calc(14rem / 16);
	min-width: 0;
	padding: 6px 28px 6px 10px;
	width: 100%;
}

.gform-datepicker-calendar th.week {
	color: var(--grayhound);
	font-size: calc(12rem / 16);
	font-weight: 700;
	letter-spacing: 1px;
	padding: var(--text-spacing-xxsmall) 0;
	text-align: center;
	text-transform: uppercase;
}

.gform-datepicker-calendar td.day,
.gform-datepicker-calendar td.empty {
	padding: 1px;
	text-align: center;
}

.gform-datepicker-calendar td.day {
	cursor: pointer;
}

.gform-datepicker-calendar td.day span {
	border-radius: var(--border-radius-normal);
	color: var(--retriever-black);
	display: block;
	line-height: 36px;
}

.gform-datepicker-calendar td.day:hover span {
	background: var(--husky-blue-25);
	color: var(--russian-blue);
}

.gform-datepicker-calendar td.dayToday span {
	background: var(--husky-blue-25);
	font-weight: 700;
}

.gform-datepicker-calendar td.day.selected span,
.gform-datepicker-calendar td.dayMarked span {
	background: var(--russian-blue);
	color: var(--samoyed-white);
}

.gform-datepicker-calendar td.dayInPrevMonth span,
.gform-datepicker-calendar td.dayInNextMonth span,
.gform-datepicker-calendar td.disabled span {
	color: var(--grayhound);
	opacity: 0.5;
}

.gform-datepicker-calendar td.disabled {
	cursor: default;
	pointer-events: none;
}

.gform-datepicker-calendar .monthMessage p {
	color: var(--grayhound);
	font-size: calc(12rem / 16);
	margin: var(--text-spacing-xxsmall) 0 0;
	text-align: center;
}

.gform-datepicker-calendar .esc-button {
	background: none;
	border: 0;
	color: var(--grayhound);
	cursor: pointer;
	font-size: calc(20rem / 16);
	line-height: 1;
	padding: 4px;
	position: absolute;
	right: 8px;
	top: 8px;
}

.gform-datepicker-toggle:focus-visible,
.gform-datepicker-calendar td:focus-visible,
.gform-datepicker-calendar select:focus-visible,
.gform-datepicker-calendar .esc-button:focus-visible {
	box-shadow: 0 0 0 2px var(--samoyed-white);
	outline: 2px solid var(--russian-blue);
	outline-offset: 2px;
}

/* Gravity Forms — validation */

.gform_validation_errors {
	display: none !important;
}

.gfield_error input,
.gfield_error select,
.gfield_error textarea {
	border-color: #c0392b;
}

.gfield_error .gfield_label {
	color: #c0392b;
}

.validation_message {
	color: #c0392b;
	font-size: calc(12rem/16);
	font-style: italic;
	padding-top: 4px;
}

/*** Video Lightboxes ***/

dialog::backdrop {
	background: var(--black);
	opacity: .6;
}

.white-popup-block {
	background: var(--black);
	border: none;
	margin: auto;
	max-width: 80vw;
	padding: 0;
	width: 100%;
}

.white-popup-block video,
.white-popup-block iframe {
	aspect-ratio: 16/9;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.white-popup-block .close-popup {
	border: none;
	padding: 0;
	position: absolute;
	right: var(--text-spacing-xxsmall);
	top: var(--text-spacing-xxsmall);
}

/*** Modals — shared base pattern ***/

.modal {
	background: var(--samoyed-white);
	border: none;
	border-radius: var(--border-radius-large);
	margin: auto;
	max-width: 720px;
	padding: var(--text-spacing-xlarge);
	position: fixed;
	width: 90vw;
}

.modal::backdrop {
	background: var(--russian-blue);
	opacity: .85;
}

.modal-close {
	align-items: center;
	background: rgba(0, 0, 0, 0.07);
	border: none;
	border-radius: var(--border-radius-normal);
	color: var(--grayhound);
	cursor: pointer;
	display: flex;
	font-size: calc(20rem / 16);
	height: 40px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: var(--text-spacing-xsmall);
	top: var(--text-spacing-xsmall);
	transition: color 0.2s ease;
	width: 40px;
	z-index: 1;
}

.modal-close:hover {
	color: var(--retriever-black);
}

.modal-body .heading-4 {
	margin: 0 0 var(--text-spacing-medium);
}

/* Lock background scroll while any modal dialog is open. showModal() makes the
   page inert but does not stop wheel/touch scroll from chaining to the body —
   jazzydialog.js toggles this class so the page can't scroll behind a dialog. */
html.has-dialog-open,
html.has-dialog-open body {
	overflow: hidden;
}

/*** Search Modal (extends .modal) ***/

.search-modal {
	max-width: 720px;
	overflow: visible;
	padding: 0;
}

.search-modal-form {
	position: relative;
}

.search-modal-input {
	border: none;
	border-radius: var(--border-radius-large);
	font-size: calc(24rem / 16);
	padding: var(--text-spacing-medium) var(--text-spacing-xxlarge) var(--text-spacing-medium) var(--text-spacing-medium);
	width: 100%;
}

.search-modal-submit {
	background: var(--wolfhound-gray);
	color: var(--russian-blue);
	position: absolute;
	right: var(--text-spacing-xsmall);
	top: 50%;
	transform: translateY(-50%);
}

.search-modal-submit:hover {
	background: var(--husky-blue-25);
}

.search-modal .modal-close {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--samoyed-white);
	height: 32px;
	position: absolute;
	right: calc(-32px - var(--text-spacing-xsmall));
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
}

.search-modal .modal-close:hover {
	background: rgba(255, 255, 255, 0.35);
	color: var(--samoyed-white);
}

/*** Share Modal (extends .modal) ***/

#share-modal {
	max-width: 520px;
}

.share-modal-field {
	margin-bottom: var(--text-spacing-medium);
}

.share-modal-field .eyebrow {
	margin-bottom: var(--text-spacing-xxsmall);
}

.share-modal-field input {
	width: 100%;
}

.share-pets-list {
	border-bottom: 1px solid var(--wolfhound-gray);
	border-top: 1px solid var(--wolfhound-gray);
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0 0 var(--text-spacing-medium);
	max-height: 450px;
	overflow-y: auto;
	padding: 0;
}

.share-pets-list li {
	align-items: center;
	border-bottom: 1px solid var(--wolfhound-gray);
	display: flex;
	gap: var(--text-spacing-xsmall);
	padding: var(--text-spacing-xsmall) 0;
}

.share-pets-list li:last-child {
	border-bottom: none;
}

.share-pets-list li img {
	border-radius: var(--border-radius-normal);
	flex-shrink: 0;
	height: var(--text-spacing-xlarge);
	object-fit: cover;
	width: var(--text-spacing-xlarge);
}

.share-pets-list li span {
	font-weight: 600;
}

.share-modal-actions {
	display: flex;
	gap: var(--text-spacing-xsmall);
	justify-content: space-between;
}

/*** Donate Modal ***/

.donate-modal {
	max-width: 1000px;
	padding: 0;
	width: 90vw;
}

.donate-modal [data-donate-mount] {
	display: contents;
}

.donate-modal-grid {
	align-items: flex-start;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.donate-modal-content {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-medium);
	padding: var(--text-spacing-xlarge);
	position: sticky;
	top: 0;
}

.donate-modal-content .heading-3 {
	margin: 0;
}

.donate-modal-image {
	aspect-ratio: 16 / 9;
	border-radius: 12px;
}

.donate-modal-form {
	background: var(--pitty-off-white);
	border-radius: 0 var(--border-radius-large) var(--border-radius-large) 0;
	padding: var(--text-spacing-xlarge);
}

.donate-modal-form iframe {
	border: none;
	height: 100%;
	min-height: 400px;
	width: 100%;
}

/* Form-only — no supporting content, so the form fills a narrower modal. */

.donate-modal.form-only {
	max-width: 560px;
}

.donate-modal.form-only .donate-modal-grid {
	grid-template-columns: 1fr;
}

.donate-modal.form-only .donate-modal-form {
	border-radius: var(--border-radius-large);
}

/*** Newsletter Modal ***/

/* !important throughout — bbox-2.0-min.js injects its own stylesheet
   at runtime that otherwise wins the cascade for .BBForm* classes. */

.newsletter-modal {
	max-width: 520px;
	padding: var(--text-spacing-large) var(--text-spacing-medium);
}

.newsletter-modal fieldset {
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.newsletter-modal legend {
	display: contents !important;
}

.newsletter-modal .BBFormContainer {
	padding: 0 !important;
}

.newsletter-modal .BBFormSection {
	margin: 0 !important;
}

/* Collapse the &nbsp; placeholder text node in the bbox-root div so it
   adds no height before bbox-2.0-min.js renders the form into it. */

.newsletter-modal [id^="bbox-root-"] {
	font-size: 0 !important;
}

.newsletter-modal .BBFormErrorBlock {
	background: rgba(212, 68, 68, 0.08) !important;
	border-radius: var(--border-radius-normal) !important;
	color: #a02020 !important;
	margin-bottom: var(--text-spacing-xsmall) !important;
	padding: var(--text-spacing-xxsmall) var(--text-spacing-xsmall) !important;
}

.newsletter-modal .BBFormErrorBlock ul {
	list-style: disc !important;
	margin: var(--text-spacing-xxsmall) 0 0 !important;
	padding-left: var(--text-spacing-small) !important;
}

.newsletter-modal .BBFormSectionHeading {
	margin-bottom: var(--text-spacing-xxsmall) !important;
}

.newsletter-modal .BBFormSectionHeading .BBFormFieldLabelEdit {
	color: var(--russian-blue) !important;
	display: block !important;
	font-family: var(--body-font) !important;
	font-size: calc(28rem / 16) !important;
	font-weight: 600 !important;
	letter-spacing: -0.2px !important;
	line-height: 1.2 !important;
}

.newsletter-modal .BBFormSubSectionHeading {
	color: var(--grayhound) !important;
	display: block !important;
	font-size: calc(15rem / 16) !important;
	margin-bottom: var(--text-spacing-small) !important;
}

.newsletter-modal .BBFormFieldContainer {
	margin-bottom: var(--text-spacing-xxsmall) !important;
}

.newsletter-modal .BBFormSignupFieldRequired .BBFormTextbox,
.newsletter-modal .BBFormTextbox.BBFormSignupFieldRequired,
.newsletter-modal .BBFormSignupFieldRequired .BBFormSelectList,
.newsletter-modal .BBFormSelectList.BBFormSignupFieldRequired {
	border-color: #d44 !important;
}

.newsletter-modal .BBFormButtonRow {
	margin-top: var(--text-spacing-small) !important;
}

/* Specificity chain bumps the newsletter button above the universal
   .btn.primary skin in the Blackbaud Overrides block — newsletter keeps
   its goldie-yellow look while everything else inherits the primary skin. */

.newsletter-modal [id^="bbox-root"] .BBFormContainer .BBFormSubmitbutton {
	background: var(--goldie-yellow) !important;
	border: 1px solid var(--goldie-yellow) !important;
	border-radius: var(--border-radius-normal) !important;
	box-shadow: none !important;
	color: var(--russian-blue) !important;
	cursor: pointer !important;
	font-family: var(--body-font) !important;
	font-size: calc(15rem / 16) !important;
	font-weight: 600 !important;
	padding: 12px var(--text-spacing-small) !important;
	transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.newsletter-modal [id^="bbox-root"] .BBFormContainer .BBFormSubmitbutton:hover {
	background: var(--goldie-yellow-hover) !important;
	border-color: var(--goldie-yellow-hover) !important;
}

.newsletter-modal #reCAPTCHADisclosure {
	color: var(--grayhound) !important;
	font-size: calc(12rem / 16) !important;
	margin-top: var(--text-spacing-xsmall) !important;
}

.newsletter-modal #reCAPTCHADisclosure a {
	color: var(--mustang-blue) !important;
}

/*** Blackbaud Overrides ***/

/* Always scope under #bbox-root so we never touch markup outside the
   embedded Blackbaud widget. Add new overrides to this block. */

#bbox-root .BBFormContainer#bboxdonation_BBEmbeddedForm {
	margin: 0;
	padding: 0;
}

/* Replace Blackbaud's default field-container margin with a consistent
   16px gap above each field. */

#bbox-root .BBFormContainer .BBFormFieldContainer {
	margin: var(--text-spacing-xsmall) 0 0;
}


#bbox-root .BBFormContainer .BBFormSectionHeading {
	border: none;
	color: var(--russian-blue);
	margin: 0 0 var(--text-spacing-xxsmall);
	padding: 0;
}

/* Comments section — Blackbaud pushes the label and textarea in from the
   left with margins that don't match the rest of the form's field grid. */

#bbox-root .BBFormContainer .BBDFormSectionComments .BBFormFieldLabel,
#bbox-root .BBFormContainer .BBDFormSectionComments .BBFormTextArea {
	margin-left: 0;
}

#bbox-root #reCAPTCHADisclosure {
	display: none;
}

/* Field reskinning — every bbox form (newsletter + donation). The
   .BBFormContainer .BBFormFieldContainer chain lifts specificity to (0,4,0)
   so it beats bbox's own (0,3,0) .BBFormContainer[data-bbox-part-id] rules. */

[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormTextbox,
[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormTextArea,
[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormSelectList {
	background: var(--samoyed-white) !important;
	border: 1px solid var(--wolfhound-gray) !important;
	border-radius: var(--border-radius-normal) !important;
	font-family: var(--body-font) !important;
	font-size: calc(15rem / 16) !important;
	padding: 12px 20px !important;
	width: 100% !important;
}

/* Strip bbox's per-field max-width so inputs fill their column. */

[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormTextbox,
[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormTextArea,
[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormSelectList,
[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormChecklist {
	max-width: none !important;
}

/* Custom caret-in-circle replaces the native select chevron. Sits after the
   rule above so its background-image survives that rule's `background`
   shorthand reset. */

[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormSelectList {
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23E6E9EB'/%3E%3Cpath d='M9 11.5l3 3 3-3' stroke='%2303071D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-position: right 16px center !important;
	background-repeat: no-repeat !important;
	cursor: pointer !important;
	padding: 12px 48px 12px 20px !important;
}

/* Focus state — bbox injects a box-shadow on input focus; replace it with
   an outline so focus reads consistently across every bbox form. Matched
   on the bbox-root prefix so it covers v1 (#bbox-root) and v2
   (#bbox-root-{id}) embeds alike. !important to beat bbox's stylesheet.

   .BBFormContainer is in the chain on purpose — it lifts specificity to
   (0,4,0) so this beats bbox's own (0,3,0) .BBFormContainer[data-bbox-part-id]
   field rules, which would otherwise win the !important tie on source order. */

[id^="bbox-root"] .BBFormContainer .BBFormTextbox:focus,
[id^="bbox-root"] .BBFormContainer .BBFormTextArea:focus,
[id^="bbox-root"] .BBFormContainer .BBFormSelectList:focus {
	border-color: var(--husky-blue-50) !important;
	box-shadow: none !important;
	outline: 2px solid var(--husky-blue-50) !important;
	outline-offset: -1px !important;
}

/* Selected giving-level option — brand blue fill with white text (AA: black fails on the darker blue). */

[id^="bbox-root"] .BBFormRadioLabelGivingLevelSelected {
	background: var(--mustang-blue) !important;
	color: var(--samoyed-white) !important;
}

[id^="bbox-root"] .BBFormContainer .BBFormFieldContainer .BBFormFieldLabel {
	float: none !important;
	margin: 0 0 var(--text-spacing-xxsmall) !important;
	max-width: none !important;
	padding: 0 !important;
	text-align: left !important;
	width: auto !important;
}

[id^="bbox-root"] .BBFormFieldLabel.BBFormSummaryTotal {
	display: none !important;
}

/* Donation form section rhythm — each section becomes a distinct group
   separated by a top divider, with breathing room above and below. The
   general-sibling combinator keeps the first section flush with the form
   top. Scoped to the donation form's wrapper so the newsletter (which
   sets its own tight section rhythm) is unaffected. */

#bboxdonation_divForm .BBFormSection {
	margin: 0 !important;
	padding-bottom: var(--text-spacing-xsmall) !important;
}

#bboxdonation_divForm .BBFormSection ~ .BBFormSection {
	border-top: 1px solid var(--wolfhound-gray) !important;
	padding-top: var(--text-spacing-xsmall) !important;
}

/* Payment + reCAPTCHA sections render empty in the donation flow — strip
   their divider/padding so they don't leave a hollow band. */

#bboxdonation_divForm .BBFormSection.BBDFormSectionPaymentInfo,
#bboxdonation_divForm #reCAPTCHASection {
	border: none !important;
	padding: 0 !important;
}

/* The submit row reads as the closing action — a touch more breathing
   room above so the CTA doesn't sit on the last field. */

#bboxdonation_divForm .BBFormSection.BBFormButtonRow {
	padding-top: var(--text-spacing-small) !important;
}

/* Section headings read as actual headings, not field labels. */

#bbox-root #bboxdonation_divForm .BBFormSectionHeading {
	margin-bottom: var(--text-spacing-xsmall) !important;
}

#bbox-root #bboxdonation_divForm .BBFormSectionHeading .BBFormFieldLabelEdit {
	color: var(--russian-blue) !important;
	display: block !important;
	font-family: var(--body-font) !important;
	font-size: calc(20rem / 16) !important;
	font-weight: 600 !important;
	line-height: calc(28 / 20) !important;
	margin: 0 !important;
}

/* Reset fieldset + legend defaults so they don't pile padding/margins
   on top of our section rhythm — the heading's margin-bottom should be
   the only gap above the first field. Same pattern as the newsletter. */

#bbox-root #bboxdonation_divForm fieldset {
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#bbox-root #bboxdonation_divForm legend {
	display: contents !important;
}

/* First field after the legend sits flush — the section heading already
   provides the gap. Inter-row spacing for the rest is handled by the
   base .BBFormFieldContainer rule above. */

#bbox-root #bboxdonation_divForm legend + .BBFormFieldContainer {
	margin-top: 0 !important;
}

/* Two-field rows — name (first/last) and state/zip — sit on one line
   via a 2-col grid. Visible labels span both columns; bbox's
   .BBAccessibilityOnly labels are positioned absolutely so they don't
   participate in the grid flow.

   display: grid intentionally omits !important so bbox's inline
   `style="display: none"` on the non-active country variants (UK/CA/AU/NZ)
   keeps winning — only the active country's state-zip row becomes a grid. */

#bbox-root #bboxdonation_divForm .BBFormFieldContainer.BBTwoFields,
#bbox-root #bboxdonation_divForm .BBTwoFields .BBFormFieldContainer {
	column-gap: var(--text-spacing-xsmall) !important;
	display: grid;
	grid-template-columns: 1fr 1fr !important;
	row-gap: 0 !important;
}

#bbox-root #bboxdonation_divForm .BBFormFieldContainer.BBTwoFields > .BBFormFieldLabel:not(.BBAccessibilityOnly),
#bbox-root #bboxdonation_divForm .BBTwoFields .BBFormFieldContainer > .BBFormFieldLabel:not(.BBAccessibilityOnly) {
	grid-column: 1 / -1 !important;
}

/* The state/zip pair wraps its accessibility span in a bare <div> that
   would otherwise occupy a grid cell. display: contents lets the span
   (which is positioned absolutely) participate directly. */

#bbox-root #bboxdonation_divForm .BBTwoFields .BBFormFieldContainer > div[aria-describedby] {
	display: contents !important;
}

/* Submit button — universal .btn.primary skin for every bbox form.
   The newsletter modal lifts its own selector specificity earlier in the
   stylesheet to keep its goldie-yellow look. */

[id^="bbox-root"] .BBFormContainer .BBFormSubmitbutton {
	background: var(--mustang-blue) !important;
	border: 2px solid var(--mustang-blue) !important;
	border-radius: var(--border-radius-normal) !important;
	box-shadow: none !important;
	color: var(--samoyed-white) !important;
	cursor: pointer !important;
	font-family: var(--body-font) !important;
	font-size: calc(18rem / 16) !important;
	font-weight: 600 !important;
	line-height: calc(24 / 18) !important;
	padding: 13px 24px 14px !important;
	text-align: center !important;
	transition: all .25s ease !important;
}

[id^="bbox-root"] .BBFormContainer .BBFormSubmitbutton:hover {
	background: var(--mustang-blue-hover) !important;
	border-color: var(--mustang-blue-hover) !important;
}

.donate-modal .BBFormFieldRecurrenceInfo {
	padding: 0 !important;
}

/*** Accordions ***/

.accordion button {
	align-items: center;
	background: none;
	border: none;
	display: flex;
	flex-wrap: nowrap;
	gap: var(--text-spacing-small);
	padding: var(--text-spacing-medium) 0;
	text-align: left;
	width: 100%;
}

.accordion:not(.active) > :nth-child(n + 2) {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.accordion.active > :nth-child(n + 2) {
	display: block;
	opacity: 1;
}

.accordion button .expand,
.accordion button .collapse {
	align-items: center;
	background: var(--wolfhound-gray);
	border-radius: 50%;
	display: flex;
	flex-shrink: 0;
	height: 32px;
	justify-content: center;
	transition: background .2s ease;
	width: 32px;
}

.accordion button .expand svg,
.accordion button .collapse svg {
	height: 12px;
	width: 12px;
}

.accordion:not(.active) .collapse,
.accordion.active .expand {
	display: none;
}

/*** Content Styles ***/

.content-styles a:not([class]) {
	color: var(--mustang-blue);
	font-weight: bold;
	text-decoration: underline;
	text-decoration-color: var(--mustang-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	transition: text-underline-offset .3s ease, text-decoration-color .3s ease;
}

.content-styles a:not([class]):hover {
	text-decoration-color: var(--mustang-blue-hover);
	text-underline-offset: 4px;
}

.content-styles p {
	margin: 0;
}

.content-styles p + p {
	margin-top: var(--text-spacing-xsmall);
}

.content-styles ul + p {
	margin-top: var(--text-spacing-small);
}

.content-styles > :first-child {
	margin-top: 0;
}

.content-styles > :last-child {
	margin-bottom: 0;
}

/* Unordered lists — pawprint bullet */

.content-styles ul:not([class]) {
	list-style: none;
	margin: var(--text-spacing-xsmall) 0;
	padding: 0;
}

.content-styles ul:not([class]) li {
	padding-left: calc(28px + var(--text-spacing-xxsmall));
	position: relative;
}

.content-styles ul:not([class]) li::before {
	background-color: var(--grayhound);
	content: '';
	height: 24px;
	left: 0;
	-webkit-mask: url('svgs/pawprint.svg') no-repeat center center / contain;
	mask: url('svgs/pawprint.svg') no-repeat center center / contain;
	opacity: 0.25;
	position: absolute;
	top: 2px;
	width: 28px;
}

.background-appaloosa-beige .content-styles ul:not([class]) li::before {
	filter: brightness(0.88);
}

.background-russian-blue .content-styles ul:not([class]) li::before,
.background-mustang-blue .content-styles ul:not([class]) li::before {
	background-color: var(--samoyed-white);
}

.content-styles ul:not([class]) li + li {
	margin-top: 12px;
}

/* Plain bullet variant — opt-in via the editor's "Bullet List" toggle. */

.content-styles ul.bullet {
	list-style: none;
	margin: var(--text-spacing-xsmall) 0;
	padding: 0;
}

.content-styles ul.bullet li {
	padding-left: calc(8px + var(--text-spacing-xxsmall));
	position: relative;
}

.content-styles ul.bullet li::before {
	background: var(--mustang-blue);
	border-radius: 50%;
	content: '';
	display: block;
	height: 6px;
	left: 0;
	mask: none;
	opacity: 1;
	position: absolute;
	text-align: center;
	top: 14px;
	width: 6px;
}

.background-russian-blue .content-styles ul.bullet li::before,
.background-mustang-blue .content-styles ul.bullet li::before {
	color: var(--samoyed-white);
}

.content-styles ul.bullet li + li {
	margin-top: 12px;
}

/* Ordered lists — russian-blue numbers */

.content-styles ol:not([class]) {
	counter-reset: ol-counter;
	list-style: none;
	margin: var(--text-spacing-xsmall) 0;
	padding: 0;
}

.content-styles ol:not([class]) li {
	counter-increment: ol-counter;
	padding-left: var(--text-spacing-medium);
	position: relative;
}

.content-styles ol:not([class]) li::before {
	color: var(--russian-blue);
	content: counter(ol-counter) ".";
	font-weight: 700;
	left: 0;
	position: absolute;
}

.content-styles ol:not([class]) li + li {
	margin-top: var(--text-spacing-xxsmall);
}

/* Blockquote */

.content-styles blockquote {
	border-left: 4px solid var(--goldie-yellow);
	color: var(--russian-blue);
	font-family: var(--heading-font);
	font-size: calc(24rem / 16);
	font-style: normal;
	font-weight: 600;
	line-height: calc(32 / 24);
	margin: var(--text-spacing-medium) 0;
	padding: var(--text-spacing-xsmall) 0 var(--text-spacing-xsmall) var(--text-spacing-medium);
}

.content-styles blockquote p {
	margin: 0;
}

.content-styles blockquote cite {
	color: var(--grayhound);
	display: block;
	font-family: var(--body-font);
	font-size: calc(14rem / 16);
	font-style: normal;
	font-weight: 500;
	margin-top: var(--text-spacing-xsmall);
}

/* Headings inside body copy read at content scale, not the display scale
   bare h1-h6 carry sitewide (114px down to 28px). Editors paste job
   listings and press releases out of Word / Google Docs, which drags the
   source document's heading tags along with the text. */

.content-styles h1:not([class^="heading-"]),
.content-styles h2:not([class^="heading-"]) {
	font-size: calc(32rem / 16);
	line-height: calc(40 / 32);
}

.content-styles h3:not([class^="heading-"]) {
	font-size: calc(28rem / 16);
	line-height: calc(38 / 28);
}

.content-styles h4:not([class^="heading-"]),
.content-styles h5:not([class^="heading-"]),
.content-styles h6:not([class^="heading-"]) {
	font-size: calc(22rem / 16);
	line-height: calc(32 / 22);
}

/* A heading inside a list item is always paste debris - Google Docs keeps
   the paragraph style even when the author has shrunk the font by hand.
   Render it as the bullet text it was meant to be. */

.content-styles li :is(h1, h2, h3, h4, h5, h6):not([class^="heading-"]) {
	display: inline;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
}

.content-styles h2:not([class^="heading-"]),
.content-styles h4:not([class^="heading-"]) {
	margin-bottom: var(--text-spacing-xsmall);
}

.content-styles h3:not([class^="heading-"]) {
	margin-bottom: var(--text-spacing-xxsmall);
}

.content-styles * + h2:not([class^="heading-"]),
.content-styles * + h3:not([class^="heading-"]),
.content-styles * + h4:not([class^="heading-"]) {
	margin-top: var(--module-spacing-medium);
}

.alignleft {
	float: left;
	margin-right: 15px;
}

.alignright {
	float: right;
	margin-left: 15px;
}

/*** Tooltip Shortcode ***/

.shortcode-tooltip {
	cursor: help;
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

.shortcode-tooltip-icon {
	height: 18px;
	transition: opacity 0.2s ease;
	width: 18px;
}

.shortcode-tooltip:hover .shortcode-tooltip-icon,
.shortcode-tooltip:focus .shortcode-tooltip-icon {
	opacity: 0.8;
}

.shortcode-tooltip-bubble {
	background: var(--russian-blue);
	border-radius: 8px;
	bottom: calc(100% + 8px);
	color: var(--samoyed-white);
	font-size: calc(13rem / 16);
	font-weight: 400;
	left: 50%;
	line-height: 1.5;
	max-width: min(260px, calc(100vw - 40px));
	min-width: 160px;
	opacity: 0;
	padding: var(--text-spacing-xxsmall) var(--text-spacing-xsmall);
	pointer-events: none;
	position: absolute;
	text-align: left;
	text-transform: none;
	transform: translateX(calc(-50% + var(--tooltip-shift, 0px))) translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	visibility: hidden;
	white-space: normal;
	width: max-content;
	z-index: 20;
}

.shortcode-tooltip-bubble::after {
	border: 6px solid transparent;
	border-top-color: var(--russian-blue);
	content: '';
	left: calc(50% - var(--tooltip-shift, 0px));
	position: absolute;
	top: 100%;
	transform: translateX(-50%);
}

.shortcode-tooltip:hover .shortcode-tooltip-bubble,
.shortcode-tooltip:focus .shortcode-tooltip-bubble {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(calc(-50% + var(--tooltip-shift, 0px))) translateY(0);
	visibility: visible;
}

.aligncenter {
	border-radius: var(--border-radius-large);
	display: block;
	margin: var(--text-spacing-medium) auto 0;
}

.alignnone {
	border-radius: var(--border-radius-large);
	display: block;
	margin: var(--text-spacing-medium) 0 0;
}

.alignleft,
.alignright {
	border-radius: var(--border-radius-large);
	display: block;
	margin-top: var(--text-spacing-medium);
}

.wp-caption {
	max-width: 100%;
}

/*
 * ====================================================================== *
 * Header Styles
 * ====================================================================== *
 */

#header {
	left: 0;
	padding: 16px 32px 16px 56px;
	position: absolute;
	top: var(--subnav-height);
	width: 100%;
	z-index: 10;
}

.mobile-nav-icons,
.mobile-nav-footer,
.mobile-nav-illustration,
.mega-submenu-heading {
	display: none;
}

#header > .container {
	max-width: none;
	padding: 0;
	width: 100%;
}

#header .flex-container {
	align-items: center;
}

.alert-bar.desktop-only ~ #header {
	margin-top: 38px;
}

.alert-bar.desktop-only ~ #header.sticky {
	translate: 0 -38px;
}

/*** Logo ***/

#header .logo {
	flex-shrink: 0;
	padding-top: var(--text-spacing-xsmall);
}

#header .logo-default svg {
	display: block;
	height: auto;
	width: 154px;
}

#header .logo-default svg path {
	fill: var(--russian-blue);
	transition: fill 0.25s ease-in-out;
}

/*** Subnav (utility bar above header) ***/

.subnav {
	background: var(--russian-blue);
}

#menu-secondary {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-small);
	height: 40px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0 0 0 var(--container-outer-padding);
}

.subnav-icon-item {
	display: flex;
}

.subnav-icon-item + .subnav-icon-item {
	margin-left: calc(var(--text-spacing-xxsmall) - var(--text-spacing-small));
}

/* Subnav icons use .btn.icon.xsmall with translucent white background */

.subnav-icon-item .btn.icon {
	background: rgba(255, 255, 255, 0.15);
	color: var(--samoyed-white);
}

.subnav-icon-item .btn.icon:hover {
	background: rgba(255, 255, 255, 0.25);
}

.subnav-saved {
	position: relative;
}

.subnav-badge {
	align-items: center;
	background: var(--goldie-yellow);
	border-radius: 20px;
	color: var(--russian-blue);
	display: flex;
	font-size: calc(10rem / 16);
	font-weight: 700;
	height: 16px;
	justify-content: center;
	position: absolute;
	right: -4px;
	top: -4px;
	width: 16px;
}

#menu-secondary .menu-item > a {
	color: var(--samoyed-white);
	display: block;
	font-size: calc(13rem / 16);
	font-weight: 500;
	letter-spacing: 0.2px;
}

#menu-secondary .menu-item > a:hover {
	color: #99A9B5;
}

.subnav-lang {
	align-items: center;
	display: flex;
	gap: 6px;
}

.subnav-lang-link {
	align-items: center;
	color: var(--samoyed-white);
	display: flex;
	font-size: calc(13rem / 16);
	font-weight: 500;
	gap: 6px;
	letter-spacing: 0.2px;
}

.subnav-lang-link:hover {
	color: #99A9B5;
}

.subnav-lang-caret {
	align-items: center;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	height: 14px;
	justify-content: center;
	width: 14px;
}

.subnav-lang-caret svg {
	height: 3.5px;
	margin-top: 1px;
	width: 5.5px;
}

.subnav-lang-caret svg path {
	fill: var(--samoyed-white);
}

/*** Weglot Switcher (Desktop) ***/

/* Beats Weglot's own stylesheet: the !important declarations override its
   defaults (font, padding, flag display, border) so the switcher reads as a
   plain "EN" link with the same circular caret pill the original used. */

.subnav-lang-weglot .country-selector,
.subnav-lang-weglot .wg-default {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	position: relative !important;
	width: auto !important;
}

.subnav-lang-weglot .country-selector input[type="checkbox"] {
	display: none !important;
}

.subnav-lang-weglot .wgcurrent {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	color: var(--samoyed-white) !important;
	cursor: pointer;
	display: flex !important;
	font-family: inherit !important;
	font-size: calc(13rem / 16) !important;
	font-weight: 500 !important;
	gap: 6px;
	letter-spacing: 0.2px;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	text-decoration: none !important;
	text-transform: uppercase;
}

/* Hide Weglot's current-language text — we render "EN/SP" via ::before. */

.subnav-lang-weglot .wgcurrent > * {
	display: none !important;
}

.subnav-lang-weglot .wgcurrent::before {
	content: 'EN/SP';
}

/* Higher specificity + position: relative needed to beat Weglot's own
   `.wgcurrent::after { position: absolute }` chevron rule. */

.subnav-lang-weglot .country-selector.weglot-dropdown .wgcurrent::after {
	background-color: rgba(255, 255, 255, 0.15) !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='4' viewBox='0 0 6 4' fill='none'><path d='M2.1875 2.85938L0.1875 0.859375C0.046875 0.71875 0 0.5 0.078125 0.3125C0.15625 0.125 0.34375 0 0.546875 0H4.54688C4.75 0 4.92188 0.125 5 0.3125C5.07812 0.5 5.03125 0.71875 4.89062 0.859375L2.89062 2.85938C2.70312 3.0625 2.375 3.0625 2.1875 2.85938Z' fill='%23fff'/></svg>") !important;
	background-position: center calc(50% + 1px) !important;
	background-repeat: no-repeat !important;
	background-size: 5.5px 3.5px !important;
	border: 0 !important;
	border-radius: 50% !important;
	bottom: auto !important;
	content: '' !important;
	display: inline-block !important;
	flex-shrink: 0;
	height: 14px !important;
	left: auto !important;
	margin: 0 !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	transition: transform 0.2s ease !important;
	width: 14px !important;
}

.subnav-lang-weglot .country-selector.weglot-dropdown input:checked ~ .wgcurrent::after {
	transform: rotate(180deg) !important;
}

.subnav-lang-weglot .wgcurrent:hover {
	color: #99A9B5 !important;
}

.subnav-lang-weglot .country-selector img {
	display: none !important;
}

.subnav-lang-weglot .wgdrop,
.subnav-lang-weglot .country-selector ul {
	background: var(--samoyed-white) !important;
	border: 0 !important;
	border-radius: var(--border-radius-normal) !important;
	box-shadow: var(--card-shadow) !important;
	left: auto !important;
	list-style: none !important;
	margin: 0 !important;
	min-width: 80px !important;
	padding: 6px 0 !important;
	position: absolute !important;
	right: 0 !important;
	top: calc(100% + 8px) !important;
	width: auto !important;
	z-index: 100;
}

.subnav-lang-weglot .wgdrop li,
.subnav-lang-weglot .country-selector ul li {
	background: transparent !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.subnav-lang-weglot .wgdrop a,
.subnav-lang-weglot .country-selector ul a {
	background: transparent !important;
	color: var(--russian-blue) !important;
	display: block !important;
	font-family: inherit !important;
	font-size: calc(13rem / 16) !important;
	font-weight: 500 !important;
	height: auto !important;
	letter-spacing: 0.2px;
	line-height: calc(30 / 18) !important;
	padding: 8px 16px !important;
	text-decoration: none !important;
	text-transform: none;
}

.subnav-lang-weglot .wgdrop a:hover,
.subnav-lang-weglot .country-selector ul a:hover {
	background: var(--appaloosa-beige) !important;
	color: var(--russian-blue) !important;
}

#menu-secondary .menu-item.subnav-report-cruelty {
	order: 1;
}

#menu-secondary .menu-item.subnav-report-cruelty > a {
	align-items: center;
	background: var(--goldie-yellow);
	color: var(--russian-blue);
	display: flex;
	font-size: calc(12rem / 16);
	font-weight: 700;
	gap: 6px;
	height: 40px;
	justify-content: center;
	letter-spacing: 0.6px;
	min-width: fit-content;
	padding: 0 16px;
	text-transform: uppercase;
	width: 162px;
}

#menu-secondary .menu-item.subnav-report-cruelty > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='%23012846'%3E%3Cpath d='M6.919.082l5.14 2.187c.602.274 1.067.848 1.067 1.559-.028 2.734-1.149 7.684-5.852 9.953a1.5 1.5 0 01-1.45 0C.823 11.512-.298 6.562-.298 3.828c-.027-.711.438-1.286 1.04-1.559L5.88.082A1.1 1.1 0 016.564 0c.11 0 .246.027.355.082zM6.564 3.5c-.383 0-.656.3-.656.656v3.063c0 .383.273.656.656.656.355 0 .656-.274.656-.656V4.156c0-.355-.3-.656-.656-.656zm-.875 6.125c0 .492.383.875.875.875.465 0 .875-.383.875-.875s-.41-.875-.875-.875c-.492 0-.875.41-.875.875z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	content: '';
	flex-shrink: 0;
	height: 14px;
	width: 14px;
}

#menu-secondary .menu-item.subnav-report-cruelty > a:hover {
	background: #d4aa2e;
	color: var(--russian-blue);
}

/*** Primary Nav Bar ***/

#header nav {
	align-items: center;
	background: var(--samoyed-white);
	border-radius: var(--border-radius-large);
	display: flex;
	gap: 24px;
	margin-left: auto;
	padding: 0 24px 0 40px;
	transition: background 0.25s ease;
}

#header.on-light nav {
	background: var(--appaloosa-beige);
}

/* In sticky mode the header has its own solid white bg, so the nav itself
   doesn't need its own pill — let it sit transparently in the white bar. */
#header.sticky nav,
#header.sticky.on-light nav {
	background: transparent;
}

#menu-main {
	align-items: center;
	display: flex;
	flex: 1;
	font-size: calc(17rem / 16);
	font-weight: 600;
	gap: 24px;
	letter-spacing: 0.2px;
}

#menu-main.has-scroll:before {
	background: linear-gradient(to bottom, transparent, var(--off-white));
	bottom: 0;
	content: '';
	height: 140px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: all 0.25s ease;
	width: 100%;
	z-index: 5;
}

@media (min-width: calc(1201rem / 16)) {
	#menu-main.has-scroll:has(.menu-item-has-children.active):before {
		opacity: 1;
	}
}

#menu-main > .menu-item > button {
	align-items: center;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	font-size: inherit;
	font-weight: inherit;
	gap: 6px;
	letter-spacing: inherit;
	padding: 34px 0;
}

#menu-main > .menu-item > a,
#menu-main > .menu-item > button {
	color: var(--russian-blue);
	transition: color 0.2s ease;
}

#menu-main > .menu-item:not(.menu-btn) > a:hover,
#menu-main > .menu-item:not(.menu-btn) > button:hover {
	color: inherit;
}

/* When any dropdown is open: fade non-active items, white backdrop,
   nav color change, logo override. All gated to desktop only —
   at mobile width, hover/active on menu items should cause zero
   visual change to the header chrome. */

#header::before {
	background: var(--samoyed-white);
	content: '';
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.25s ease;
	z-index: -1;
}

@media (min-width: calc(1201rem / 16)) {

	#menu-main:has(.menu-item-has-children.active) > .menu-item:not(.active):not(.menu-btn) > a,
	#menu-main:has(.menu-item-has-children.active) > .menu-item:not(.active):not(.menu-btn) > button {
		color: var(--grayhound);
	}

	#header:has(.menu-item-has-children.active)::before,
	#header:has(.menu-item-has-children:hover)::before {
		opacity: 1;
	}

	#header:has(.menu-item-has-children.active) nav,
	#header:has(.menu-item-has-children:hover) nav {
		background: var(--samoyed-white);
	}

	#header:has(.menu-item-has-children.active) .menu-caret,
	#header:has(.menu-item-has-children:hover) .menu-caret {
		background: var(--wolfhound-gray);
	}

	#header:has(.menu-item-has-children.active) .logo-default svg path,
	#header:has(.menu-item-has-children:hover) .logo-default svg path,
	#header:has(.menu-item-has-children.active) .logo-sticky svg path,
	#header:has(.menu-item-has-children:hover) .logo-sticky svg path {
		fill: var(--russian-blue);
	}

}

@media (hover: hover) and (pointer: fine) and (min-width: calc(1201rem / 16)) {

	#menu-main:has(.menu-item-has-children:hover) > .menu-item:not(:hover):not(.menu-btn) > a,
	#menu-main:has(.menu-item-has-children:hover) > .menu-item:not(:hover):not(.menu-btn) > button {
		color: var(--grayhound);
	}

}

#menu-main > .menu-item:not(.nav-btn) {
	padding-bottom: 0;
}


/*** Donate Button (menu item with .btn class from WP admin) ***/

#menu-main > .menu-item.menu-btn {
	flex-shrink: 0;
	margin-left: auto;
}

#menu-main > .menu-item.menu-btn > a {
	background: var(--mustang-blue);
	border-radius: var(--border-radius-normal);
	color: var(--samoyed-white);
	display: block;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	padding: 8px 18px 9px;
	transition: background .3s ease;
}

#menu-main > .menu-item.menu-btn > a:hover {
	background: var(--mustang-blue-hover);
}

/*** Caret (dropdown indicator) ***/

.menu-caret {
	align-items: center;
	background: var(--wolfhound-gray);
	border-radius: 40px;
	display: flex;
	height: var(--text-spacing-xsmall);
	justify-content: center;
	position: relative;
	top: 1px;
	transition: background 0.25s ease, transform 0.25s ease;
	width: var(--text-spacing-xsmall);
}

.menu-caret svg {
	display: block;
	font-size: calc(8rem / 16);
	left: 0.5px;
	position: relative;
}

#header.on-light .menu-caret {
	background: #CCCCCA;
}

#menu-main > .menu-item:hover > a .menu-caret,
#menu-main > .menu-item:hover > button .menu-caret,
#menu-main > .menu-item.active > a .menu-caret,
#menu-main > .menu-item.active > button .menu-caret {
	transform: rotate(180deg) translateY(1px);
}

/*** Sticky Header ***/

.logo-sticky {
	display: none;
}

#header.sticky {
	background: var(--samoyed-white);
	position: fixed;
	top: 0;
	transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
	z-index: 1000;
}

/* Slide/fade away on scroll-down, reappear on scroll-up (.is-hidden toggled by JS) */
#header.sticky.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-100%);
}

#header.sticky .logo-default {
	display: none;
}

#header.sticky .logo-sticky {
	display: block;
}

#header.sticky .logo-sticky svg {
	width: 110px;
}

/* White bg in sticky mode means the logo always renders dark — no need for the on-light/on-dark dance here */
#header.sticky .logo-sticky svg path {
	fill: var(--russian-blue);
	transition: fill 0.25s ease-in-out;
}

#header.sticky #menu-main .sub-menu {
	top: 100%;
}

/** Header — background-aware color scheme **/

/* Initial state (non-sticky): on-light forces logo dark, on-dark forces logo white */

#header.on-light .logo-default svg path,
#header.on-beige .logo-default svg path {
	fill: var(--russian-blue);
}

#header.on-dark .logo-default svg path {
	fill: var(--samoyed-white);
}

/* Sticky state: logo is the compact SVG, controlled by fill */

#header.sticky.on-light .logo-sticky svg path,
#header.sticky.on-beige .logo-sticky svg path {
	fill: var(--russian-blue);
}

/*** Mega Menu ***/

/* Hover dropdown — only above the JS mobile breakpoint (1200px).
   Below 1200px, JS handles click-to-toggle via .active class.
   Without the min-width, hover and click-toggle compete on resize. */

/* Desktop-only dropdown — hover + .active both gated above the JS
   mobile breakpoint (1200px). Below 1200px, the mobile menu CSS at
   that breakpoint handles show/hide via its own .active rules. */

@media (min-width: calc(1201rem / 16)) {
	#menu-main > li.active > .sub-menu {
		opacity: 1;
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
		visibility: visible;
		z-index: 4;
	}
}

@media (hover: hover) and (pointer: fine) and (min-width: calc(1201rem / 16)) {
	#menu-main > li:hover > .sub-menu {
		opacity: 1;
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
		visibility: visible;
		z-index: 4;
	}
}

#menu-main .sub-menu {
	background: var(--samoyed-white);
	box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.06);
	display: block;
	left: calc(-1 * 56px);
	opacity: 0;
	overflow: hidden;
	padding: var(--text-spacing-xlarge) var(--text-spacing-xxlarge) var(--text-spacing-xlarge);
	pointer-events: none;
	position: absolute;
	top: calc(100% - 24px);
	transform: translate3d(0, -10px, 0);
	transition: opacity .25s cubic-bezier(.45,0,.55,1), transform .25s cubic-bezier(.45,0,.55,1), visibility .25s cubic-bezier(.45,0,.55,1);
	visibility: hidden;
	width: calc(100% + 56px + 32px);
	z-index: -2;
}

/* Strip rogue inline justify-content from WP menu admin */

#menu-main .sub-menu[style] {
	justify-content: unset !important;
}

/*** Mega Menu — Shared Inner Layout ***/

#menu-main .sub-menu > li {
	list-style: none;
}

#menu-main .sub-menu > li.grid {
	column-gap: var(--gap);
	display: grid;
	grid-template-columns: var(--grid);
}

/*** Mega Menu — Link Lists (intro + link groups + image) ***/

.mega-link-lists {
	display: flex;
	gap: var(--text-spacing-xlarge);
}

/* Intro column — heading, description, CTA */

.mega-intro {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	width: 380px;
}

.mega-intro .heading-5 {
	margin: 0;
}

.mega-intro .xsmall-text {
	font-weight: 400;
	margin: 0;
}

.mega-intro .btn.secondary {
	margin-top: var(--text-spacing-xxsmall);
}

/* Link groups — columns of pill label + links + view-all */

.mega-link-groups {
	border-left: 1px solid var(--wolfhound-gray);
	display: flex;
	flex: 1;
	gap: var(--text-spacing-large);
	padding-left: var(--text-spacing-xlarge);
}

.mega-group {
	align-items: flex-start;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--text-spacing-small);
}

.mega-group .pill {
	text-decoration: none;
}

.mega-group .pill:hover {
	opacity: 0.85;
}

.mega-group ul {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	list-style: none;
	margin: 0;
	padding: 0;
}

.mega-group ul li a {
	color: var(--retriever-black);
	font-size: calc(16rem / 16);
	font-weight: 500;
	letter-spacing: 0.2px;
	line-height: calc(24 / 16);
	transition: color 0.2s ease;
}

.mega-group ul li a:hover {
	color: var(--grayhound);
}

.mega-group .btn.text-arrow {
	font-size: calc(15rem / 16);
	margin-top: auto;
}

.mega-group .btn.text-arrow::after {
	transition: transform .3s ease;
}

.mega-group .btn.text-arrow:hover {
	color: inherit;
}

.mega-group .btn.text-arrow:hover::after {
	transform: translateX(2px);
}

/* Featured image — rounded with optional label pill below */

.mega-featured-image {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	position: relative;
	width: 297px;
}

.mega-featured-image .media .pill {
	bottom: 8px;
	left: 8px;
	position: absolute;
	right: 8px;
	z-index: 1;
}

.mega-featured-image .media {
	aspect-ratio: 297 / 200;
	border-radius: var(--border-radius-normal);
	overflow: hidden;
	width: 100%;
}

.mega-featured-image .media img {
	display: block;
	height: 100%;
	position: static;
	transition: transform .4s ease;
	width: 100%;
}

.mega-featured-image a.media:hover img {
	transform: scale(1.05);
}

/*** Mega Menu — Link Lists + Featured Posts ***/

#menu-main .sub-menu.link-lists-featured-posts > li.grid {
	grid-template-columns: 2fr 1fr;
}

#menu-main .sub-menu.link-lists-featured-posts .mega-link-groups {
	gap: var(--text-spacing-large);
}

#menu-main .sub-menu.link-lists-featured-posts .mega-media {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
}

#menu-main .sub-menu.link-lists-featured-posts .mega-media img {
	border-radius: 12px;
	height: auto;
}

#menu-main .sub-menu.link-lists-featured-posts .mega-media p {
	color: var(--grayhound);
	font-size: calc(15rem / 16);
	line-height: calc(24 / 15);
}

/*** Mega Menu — Link List (intro + flat links + featured posts) ***/

.mega-link-list {
	display: flex;
	gap: var(--text-spacing-xlarge);
}

/* Reuses .mega-intro from link-lists */

/* Flat links column — simple vertical list */

.mega-flat-links {
	border-left: 1px solid var(--wolfhound-gray);
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	list-style: none;
	margin: 0;
	padding: 0 0 0 var(--text-spacing-xlarge);
}

.mega-flat-links li a {
	color: var(--retriever-black);
	font-size: calc(16rem / 16);
	font-weight: 500;
	letter-spacing: 0.2px;
	line-height: calc(24 / 16);
	transition: color 0.2s ease;
}

.mega-flat-links li a:hover {
	color: var(--grayhound);
}

/* Featured posts column */

.mega-featured-posts {
	flex: 1;
	min-width: 0;
	padding-left: var(--text-spacing-xlarge);
}

.mega-featured-posts header {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--text-spacing-xsmall);
}

.mega-post-cards {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-small);
	list-style: none;
	margin: 0;
	padding: 0;
}

.mega-post-card {
	align-items: center;
	color: inherit;
	display: flex;
	gap: var(--text-spacing-small);
	text-decoration: none;
}

.mega-post-card .media {
	border-radius: var(--border-radius-normal);
	flex-shrink: 0;
	height: 88px;
	overflow: hidden;
	width: 117px;
}

.mega-post-card .media img {
	transition: transform .4s ease;
}

a.mega-post-card:hover .media img {
	transform: scale(1.05);
}

.mega-post-card-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.mega-post-card p {
	margin: 0;
}

.mega-post-card .mega-post-card-text p.semibold {
	color: var(--russian-blue);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color .25s ease;
}

a.mega-post-card:hover .mega-post-card-text p.semibold {
	color: var(--russian-blue);
	text-decoration-color: currentColor;
}

.mega-post-card-text p:last-child:not(.semibold) {
	color: var(--grayhound);
}

/*** Mega Menu — Graphic Links (image cards in a row) ***/

.mega-graphic-links {
	display: flex;
	gap: var(--text-spacing-large);
	list-style: none;
	margin: 0;
	padding: 0;
}

.mega-graphic-links > li {
	flex: 1;
}

/* Card: .card.menu-image — image + tertiary link */

.card.menu-image {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
}

.card.menu-image .media + * {
	margin-top: var(--text-spacing-xsmall);
}

.card.menu-image .btn.tertiary {
	margin-top: var(--text-spacing-xxsmall);
}

.card.menu-image .media {
	aspect-ratio: 302 / 170;
	border-radius: var(--border-radius-normal);
	width: 100%;
}

a.card.menu-image:hover .media img {
	transform: scale(1.05);
}

a.card.menu-image:hover .btn.secondary {
	color: #3D5A72;
}

a.card.menu-image:hover .arrow-block {
	background: var(--goldie-yellow-hover);
	transform: translateX(2px);
}

.card.menu-image .btn.tertiary {
	font-size: calc(15rem / 16);
}

/*** Mega Menu — Posts (left nav + right cards) ***/

#menu-main .sub-menu.posts > li.grid {
	grid-template-columns: 1fr 2fr;
}

.mega-left {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
}

.mega-left > p {
	color: var(--grayhound);
	font-size: calc(15rem / 16);
	font-weight: 400;
	line-height: calc(24 / 15);
}

a.mega-group-heading {
	color: var(--russian-blue);
	font-size: calc(15rem / 16);
	font-weight: 600;
	line-height: calc(24 / 15);
	transition: color 0.2s ease;
}

a.mega-group-heading:hover {
	color: var(--grayhound);
}

.mega-cards {
	display: grid;
	gap: var(--text-spacing-xsmall);
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.mega-card {
	background: var(--pitty-off-white);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xxsmall);
	padding: var(--text-spacing-small);
	transition: background 0.2s ease, transform 0.2s ease;
}

a.mega-card:hover {
	background: var(--husky-blue-25);
	transform: translateY(-2px);
}

.mega-card h4 {
	color: var(--russian-blue);
	font-size: calc(15rem / 16);
	font-weight: 600;
	line-height: calc(24 / 15);
	margin: 0;
}

.mega-card p {
	color: var(--grayhound);
	font-size: calc(14rem / 16);
	line-height: calc(22 / 14);
	margin: 0;
}

a.mega-card:hover h4 {
	color: var(--mustang-blue);
}

/*** Mega Menu — Buttons inside megamenus ***/

#menu-main .sub-menu .btn.secondary {
	font-size: calc(15rem / 16);
	letter-spacing: 0.2px;
}

#menu-main .sub-menu .btn.secondary .arrow-block {
	height: 24px;
	width: 24px;
}

#menu-main .sub-menu .btn.secondary .arrow-block svg {
	height: 6px;
	width: 12px;
}

#menu-main .sub-menu .btn.secondary:hover .arrow-block,
#menu-main .sub-menu a:hover .btn.secondary .arrow-block {
	transform: translateX(2px);
}

#menu-main .sub-menu .btn.primary {
	align-self: flex-start;
	margin-top: var(--text-spacing-xxsmall);
}

/*** Alert Bar ***/

.alert-bar {
	background: var(--setter-crimson);
	color: var(--samoyed-white);
	left: 0;
	margin: 0;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 10px;
	position: relative;
	text-align: center;
	top: 0;
	white-space: nowrap;
	width: 100%;
	z-index: 4;
}

.alert-bar.eyebrow {
	font-size: calc(16rem / 16);
}

.alert-bar:hover {
	background: var(--setter-crimson-hover);
	color: var(--samoyed-white);
}

/*
 * ====================================================================== *
 * Footer Styles
 * ====================================================================== *
 */

/*** Newsletter Signup Bar ***/

.newsletter-bar {
	background: var(--mustang-blue);
	margin-bottom: calc(-1 * var(--module-spacing-large));
	padding: var(--text-spacing-medium) 0;
}

.newsletter-bar .container {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.newsletter-heading {
	color: var(--samoyed-white);
}

/*** Footer ***/

#footer {
	background: var(--russian-blue);
	margin-top: var(--module-spacing-large);
	padding: 80px 0 64px;
}

#footer > .container {
	max-width: none;
	padding-left: 80px;
	padding-right: 80px;
	width: 100%;
}

.footer-top {
	display: flex;
	gap: var(--text-spacing-xlarge);
	justify-content: space-between;
}

.footer-identity {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	gap: var(--text-spacing-small);
}

.footer-logo {
	display: block;
	height: 120px;
	width: fit-content;
}

.footer-logo svg {
	display: block;
	height: 100%;
	width: auto;
}

.footer-logo svg path {
	fill: var(--samoyed-white);
}

.footer-description {
	color: var(--samoyed-white);
	font-size: calc(14rem / 16);
	font-weight: 300;
	letter-spacing: 0.4px;
	line-height: calc(24 / 14);
	margin: 0;
}

.footer-social {
	display: flex;
	gap: var(--text-spacing-xxsmall);
	list-style: none;
	margin: var(--text-spacing-xxsmall) 0 0;
	padding: 0;
}

.footer-social .btn.icon {
	background: var(--goldie-yellow);
	border-radius: var(--border-radius-normal);
	color: var(--russian-blue);
	font-size: calc(16rem / 16);
	height: 40px;
	width: 40px;
}

.footer-social .btn.icon:hover {
	background: #d9ad2f;
}

/*** Footer Navigation ***/

.footer-nav {
	display: flex;
	flex: 1;
	max-width: 900px;
}

.footer-nav > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12%;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.footer-nav > ul > li {
	align-items: flex-start;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--text-spacing-small);
	max-width: 100%;
	min-width: 0;
}

.footer-nav > ul > li > a,
.footer-nav > ul > li:not(:has(a)) {
	background: var(--collie-blue);
	border-radius: 4px;
	color: var(--russian-blue);
	font-size: calc(11rem / 16);
	font-weight: 700;
	letter-spacing: 1.6px;
	line-height: calc(18 / 11);
	padding: 4px 10px 3px;
	text-transform: uppercase;
}

.footer-nav .sub-menu {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xsmall);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav .sub-menu a {
	color: var(--samoyed-white);
	font-size: calc(16rem / 16);
	font-weight: 500;
	letter-spacing: 0.2px;
	line-height: calc(24 / 16);
	transition: color .3s ease;
}

.footer-nav .sub-menu a:hover {
	color: #99A9B5;
}

/*** Footer Bottom ***/

.footer-bottom {
	align-items: flex-end;
	display: flex;
	gap: var(--text-spacing-xxlarge);
	justify-content: space-between;
	margin-top: var(--text-spacing-xlarge);
	padding-top: var(--text-spacing-medium);
}

.footer-legal {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-medium);
}

.footer-legal span {
	color: var(--samoyed-white);
	font-size: calc(14rem / 16);
	font-weight: 300;
	letter-spacing: 0.4px;
	line-height: calc(22 / 14);
}

.footer-legal ul {
	display: flex;
	gap: var(--text-spacing-xsmall);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-legal a {
	color: var(--samoyed-white);
	font-size: calc(14rem / 16);
	font-weight: 500;
	letter-spacing: 0.4px;
	line-height: calc(22 / 14);
	text-decoration: underline;
	transition: color .3s ease;
}

.footer-legal a:hover {
	color: #99A9B5;
}

.footer-badges {
	align-items: flex-end;
	display: flex;
	gap: var(--text-spacing-small);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-badges img {
	height: auto;
	max-width: 100%;
	width: 100px;
}

/*** Sticky Toast ***/

.sticky-toast {
	background: var(--russian-blue);
	bottom: 10px;
	box-shadow: -15px 15px 40px rgba(0,0,0,.15);
	color: var(--white);
	max-width: calc(100% - 20px);
	opacity: 1;
	padding: var(--text-spacing-medium);
	pointer-events: auto;
	position: fixed;
	right: 10px;
	transition: opacity .1s ease, visibility .1s ease;
	visibility: visible;
	width: 360px;
	z-index: 99;
}

.sticky-toast.hidden {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.sticky-toast button {
	background: none;
	border: none;
	border-radius: 0;
	color: var(--white);
	font-size: calc(18rem/16);
	line-height: 0;
	padding: 9px 12px;
	position: absolute;
	right: 5px;
	top: 5px;
}

.sticky-toast button:hover {
	opacity: .6;
}

.sticky-toast h2,
.sticky-toast p {
	color: var(--samoyed-white);
	margin-bottom: var(--text-spacing-xxsmall);
}

/*** Favorite Toast ***/

.favorite-toast {
	align-items: center;
	background: var(--russian-blue);
	border-radius: 12px;
	bottom: var(--text-spacing-small);
	box-shadow: 0 8px 32px rgba(3, 7, 29, .2);
	color: var(--samoyed-white);
	display: flex;
	gap: var(--text-spacing-xsmall);
	left: var(--text-spacing-small);
	max-width: calc(100% - (2 * var(--text-spacing-small)));
	opacity: 0;
	padding: var(--text-spacing-xsmall) var(--text-spacing-small);
	pointer-events: none;
	position: fixed;
	transform: translate3d(0, 12px, 0);
	transition: opacity .3s ease, transform .3s ease;
	visibility: hidden;
	width: 420px;
	z-index: 100;
}

.favorite-toast.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	visibility: visible;
}

.favorite-toast .favorite-toast-icon {
	color: var(--samoyed-white);
	flex-shrink: 0;
	font-size: calc(18rem / 16);
	line-height: 1;
	position: relative;
	top: -2px;
}

.favorite-toast .favorite-toast-text {
	flex: 1;
	font-size: calc(14rem / 16);
	line-height: 1.4;
}

.favorite-toast .favorite-toast-text strong {
	font-weight: 600;
}

.favorite-toast .favorite-toast-link {
	color: var(--samoyed-white);
	flex-shrink: 0;
	font-size: calc(14rem / 16);
	font-weight: 600;
	padding-bottom: 3px;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}

.favorite-toast .favorite-toast-link::after {
	background: var(--goldie-yellow);
	bottom: 0;
	content: '';
	height: 1px;
	left: 0;
	position: absolute;
	transition: background .3s ease, transform .3s ease;
	width: 100%;
}

.favorite-toast .favorite-toast-link:hover::after {
	background: var(--goldie-yellow-hover);
	transform: translateY(-1px);
}

.favorite-toast .favorite-toast-close {
	background: none;
	border: none;
	color: var(--samoyed-white);
	cursor: pointer;
	flex-shrink: 0;
	font-size: calc(28rem / 16);
	line-height: 1;
	opacity: .6;
	padding: 4px;
	position: relative;
	top: -2px;
	transition: opacity .2s ease;
}

.favorite-toast .favorite-toast-close:hover {
	opacity: 1;
}

/*
 * ====================================================================== *
 * Default Page Styles
 * ====================================================================== *
 */

/* Default: push main content below the absolute-positioned header.
   Subnav is in normal flow (40px), header is absolute overlaying content.
   Non-hero pages need this padding so content isn't hidden under the header. */
#main {
	overflow-x: clip;
	padding-top: var(--header-height);
}

/* Hero pages: the hero handles its own height and sits under the header — no extra padding */
.page-builder {
	margin-bottom: var(--module-spacing-large);
}

.page-builder:has(> .module:not(.background-default):last-child) {
	margin-bottom: 0;
}

#main.overlap-header,
#main:has(> .page-builder > .module:is(.hero.image-hero, .hero.image-hero-centered, .hero.content-overlay, .background-appaloosa-beige, .background-russian-blue):first-child),
#main:has(> .archive-animal > .module.hero.content-image:first-child),
#main:has(> .single-post > *:is(.background-appaloosa-beige, .background-russian-blue):first-child),
#main:has(> .single-location > .module.hero:first-child) {
	padding-top: 0;
}

/* When centered hero precedes page-content — smaller left-aligned heading */

.module.hero.centered:has(+ .page-content) {
	padding-bottom: 0;
	padding-top: var(--module-spacing-medium);
}

.module.hero.centered:has(+ .page-content) .container {
	display: grid;
	gap: 0 var(--gap);
	grid-template-columns: var(--grid);
	text-align: left;
}

.module.hero.centered:has(+ .page-content) .heading-1 {
	font-size: calc(40rem / 16);
	grid-column: 3 / span 8;
	line-height: calc(48 / 40);
}

#main .page-content:only-child {
	padding: var(--module-spacing-xlarge) 0 var(--module-spacing-xlarge);
}

.page-content {
	padding: var(--text-spacing-large) 0 var(--module-spacing-large);
}

.page-content article {
	grid-column: 3 / span 8;
}

.page-content article h1 {
	margin-bottom: var(--text-spacing-small);
}

/*** Search Results ***/

.search-hero {
	padding: var(--module-spacing-medium) 0 var(--text-spacing-medium);
}

.search-hero .eyebrow {
	margin-bottom: var(--text-spacing-xsmall);
}

.search-hero .heading-2 {
	margin: 0;
	overflow-wrap: anywhere;
}

.search-results .sort-bar .results-count {
	color: var(--grayhound);
	font-size: calc(18rem / 16);
	line-height: calc(28 / 18);
}

.search-results .sort-bar .results-count strong {
	color: var(--russian-blue);
	font-weight: 600;
}

.search-results .no-results {
	background: var(--appaloosa-beige);
	border-radius: var(--border-radius-normal);
	padding: var(--text-spacing-large);
	text-align: center;
}

.search-results .no-results > * + * {
	margin-top: var(--text-spacing-xsmall);
}

/** 404 Page ***/

.error404 .page-content article {
	text-align: center;
}

.error404 .page-content p.heading-6 {
	margin-bottom: var(--text-spacing-large);
}

/*
 * ====================================================================== *
 * Page Builder Styles Styles
 * ====================================================================== *
 */

/* Default module spacing — 120px between modules */

/* Module spacing — applied via ACF field, default is large (120px) */

.module.module-spacing-flush {
	margin-top: 0;
}

.module.module-spacing-small {
	margin-top: var(--module-spacing-small);
}

.module.module-spacing-medium {
	margin-top: var(--module-spacing-medium);
}

.module.module-spacing-large {
	margin-top: var(--module-spacing-large);
}

.module.module-spacing-xlarge {
	margin-top: var(--module-spacing-xlarge);
}

.page-builder .module:last-child:not() {
	margin-bottom: var(--module-spacing-xlarge);
}

/*** Module Backgrounds ***/

.module:is(.background-russian-blue, .background-appaloosa-beige, .background-mustang-blue) {
	overflow-x: clip;
}

.module:is(.background-russian-blue, .background-appaloosa-beige, .background-mustang-blue) > .container {
	padding-bottom: var(--module-spacing-large);
	padding-top: var(--module-spacing-large);
}

.module:is(.background-russian-blue, .background-appaloosa-beige, .background-mustang-blue):has(> .background-shape.shape-outside.shape-bottom) > .container {
	padding-bottom: var(--text-spacing-large);
}

.module:is(.background-russian-blue, .background-appaloosa-beige, .background-mustang-blue):has(> .background-shape.shape-outside.shape-top) > .container {
	padding-top: var(--text-spacing-large);
}

/* Adjacent modules with the same colored background and flush bottom module —
   reduce the padding between their content to avoid oversized color gaps. */

.module.background-appaloosa-beige:has(+ .module.background-appaloosa-beige.module-spacing-flush) > .container,
.module.background-russian-blue:has(+ .module.background-russian-blue.module-spacing-flush) > .container,
.module.background-mustang-blue:has(+ .module.background-mustang-blue.module-spacing-flush) > .container {
	padding-bottom: var(--module-spacing-small);
}

.module.background-appaloosa-beige + .module.background-appaloosa-beige.module-spacing-flush > .container,
.module.background-russian-blue + .module.background-russian-blue.module-spacing-flush > .container,
.module.background-mustang-blue + .module.background-mustang-blue.module-spacing-flush > .container {
	padding-top: var(--text-spacing-medium);
}


.module:is(.background-russian-blue, .background-appaloosa-beige, .background-mustang-blue) .container::before {
	bottom: -1px;
	content: '';
	left: var(--viewport-edge);
	position: absolute;
	top: 0;
	width: var(--viewport-full);
	z-index: -1;
}

.module.background-russian-blue .container::before {
	background-color: var(--russian-blue);
}

.module.background-appaloosa-beige .container::before {
	background-color: var(--appaloosa-beige);
}

.module.background-mustang-blue .container::before {
	background-color: var(--mustang-blue);
}

.module.background-russian-blue,
.module.background-mustang-blue {
	color: var(--samoyed-white);
}

/*** Heroes ***/

/*** Modules ***/

/* Full Width Media */

.full-width-media {
	overflow: clip;
}

.full-width-media .open-dialog {
	aspect-ratio: 1080/600;
	display: block;
	position: relative;
}

.full-width-media .open-dialog:after {
	background: var(--black);
	bottom: 0;
	content: '';
	height: 100%;
	left: 0;
	opacity: .25;
	position: absolute;
	width: 100%;
}

.full-width-media a img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.full-width-media .play-button {
	align-items: center;
	bottom: 24px;
	color: var(--white);
	display: flex;
	font-size: calc(14rem/16);
	font-weight: bold;
	gap: 22px;
	left: 26px;
	letter-spacing: 2.34px;
	line-height: calc(32/14);
	position: absolute;
	text-transform: uppercase;
	transition: transform .25s ease;
	z-index: 2;
}

.full-width-media .play-button span {
	align-items: center;
	border: 2px solid var(--white);
	color: var(--white);
	display: flex;
	font-size: calc(21/16);
	height: 59px;
	justify-content: center;
	transition: background .25s ease;
	width: 59px;
}

.full-width-media:hover .play-button span {
	background: var(--black);
}

/*
 * ====================================================================== *
 * Archive Styles
 * ====================================================================== *
 */

/*** Archive Content ***/

.archive-content {
	padding-bottom: var(--module-spacing-large);
}

.archive-content .grid > form,
.archive-content .grid > article,
.archive-content .grid > .sort-bar {
	grid-column: 1 / -1;
}

/* Sort bar — count on the left, filters trigger (mobile) on the right. */

.archive-content .grid > .sort-bar {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-small);
	justify-content: space-between;
	margin-bottom: var(--text-spacing-medium);
}

.archive-content.loading {
	pointer-events: none;
}

body:has(.archive-content.loading):after {
	background: var(--black);
	content: '';
	height: 100dvh;
	left: 0;
	opacity: .5;
	position: fixed;
	top: 0;
	width: 100vw;
	z-index: 4;
}

.archive-content.loading #sidebar-container,
.archive-content.loading [jx-form-results] {
	opacity: .5;
}

.archive-content:not(.loading) .svg-loader {
	display: none;
}

.archive-content .svg-loader{
	left: 50%;
	position: fixed;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 5;
}

.archive-content .loader-svg {
	fill: none;
	left: 0;
	position: absolute;
	stroke: var(--white);
	stroke-linecap: round;
	stroke-width: 5px;
	top: 0;
}

.archive-content .loader-svg.bg {
	stroke: var(--black);
	stroke-width: 8px;
}

.archive-content .animate {
	animation: fill-animation 1s cubic-bezier(1,1,1,1) 0s infinite;
	stroke-dasharray: 242.6;
}

@keyframes fill-animation{
	0%{
		stroke-dasharray: 40 242.6;
		stroke-dashoffset: 0;
	}
	50%{
		stroke-dasharray: 141.3;
		stroke-dashoffset: 141.3;
	}
	100%{
		stroke-dasharray: 40 242.6;
		stroke-dashoffset: 282.6;
	}
}

.archive-content #open-filters,
.archive-content #close-filters {
	display: none;
}

/* Sort */

.archive-content .sort-bar .results-count {
	margin: 0;
	transition: opacity .25s ease;
}

.archive-content .sort-bar .results-count > [jx-form-results-count="1"] + .s {
	display: none;
}

.archive-content .sort-bar .results-count:has([jx-form-results-count]:empty) {
	opacity: 0;
}

.archive-content .sort {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-xsmall);
	position: absolute;
	right: var(--container-outer-padding);
	top: 0;
}

/* Filters */

.archive-content .search-sort {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--text-spacing-xxsmall);
	justify-content: space-between;
	margin-bottom: var(--text-spacing-medium);
	position: relative;
}

.archive-content .search-sort label {
	margin: 0;
}

.archive-content .search-sort .search-container {
	align-items: center;
	display: flex;
	position: relative;
	width: 100%;
}

.archive-content .search-sort input[type="text"] {
	width: 100%;
}

.archive-content form ul {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-xlarge);
	list-style: none;
	margin: 0;
	padding: 0;
}

.archive-content form ul li.accordion > ul {
	gap: var(--text-spacing-xxsmall);
	margin: var(--text-spacing-xxsmall) 0 0;
}

.archive-content form ul li.accordion.active > ul {
	display: flex;
}

.archive-content .filters > li {
	border-bottom: 1px solid var(--black);
	padding-bottom: var(--text-spacing-xsmall);
}

.archive-content .filters button {
	align-items: center;
	background: none;
	border: none;
	padding: 0;
	text-align: left;
	width: 100%;
}

.archive-content .filters h3 {
	margin: 0;
}

.archive-content .filters label {
	display: block;
	line-height: var(--label-line-height);
	padding-left: var(--text-spacing-small);
	position: relative;
	--label-line-height: calc(24em/16);
}

.archive-content .filters label:before,
.archive-content .filters label:after {
	content: '';
	position: absolute;
}

.archive-content .filters label:before {
	border: 1px solid var(--black);
	height: 11px;
	left: 0;
	top: calc((var(--label-line-height) - 11px) / 2);
	width: 11px;
}

.archive-content .filters label:after {
	background: var(--black);
	height: 7px;
	left: 3px;
	opacity: 0;
	top: calc((var(--label-line-height) - 11px) / 2 + 3px);
	width: 7px;
}

.archive-content .filters input:checked + label:after {
	opacity: 1;
}

/* Results */

.archive-content article [jx-form-results-items] {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

.archive-content article [jx-form-results-items] > li {
	grid-column: span 1;
}

/* Pagination — Paged */

[jx-form-pagination="paged"] {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	list-style: none;
	margin: var(--text-spacing-xlarge) 0 0;
	padding: 0;
}

[jx-form-pagination="paged"]:has(li:only-child) {
	display: none;
}

[jx-form-pagination="paged"] li {
	list-style: none;
}

[jx-form-pagination="paged"] a {
	align-items: center;
	background: none;
	border: 1.5px solid var(--mustang-blue);
	border-radius: 40px;
	color: var(--retriever-black);
	display: inline-flex;
	font-size: calc(14rem / 16);
	font-weight: 600;
	height: var(--text-spacing-xlarge);
	justify-content: center;
	min-width: var(--text-spacing-xlarge);
	padding: 0 var(--text-spacing-xsmall);
	text-decoration: none;
	transition: all .25s ease;
}

[jx-form-pagination="paged"] a:hover {
	background: var(--mustang-blue);
	color: var(--samoyed-white);
}

[jx-form-pagination="paged"] a.current {
	background: var(--mustang-blue);
	border-color: var(--mustang-blue);
	color: var(--samoyed-white);
	cursor: default;
}

[jx-form-pagination="paged"] .extend {
	color: var(--grayhound);
	font-size: calc(14rem / 16);
	padding: 0 4px;
}

/* Pagination — Load More */

[jx-form-pagination="load_more"].btn.primary {
	display: flex;
	margin: var(--module-spacing-small) auto 0;
	width: fit-content;
}

[jx-form-pagination="load_more"].btn.load-more-complete {
	display: none;
}

/* Legacy class compat */

.jazzy-ajax-form-pagination {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-xxsmall);
	justify-content: center;
	list-style: none;
	margin: var(--text-spacing-xlarge) 0 0;
	padding: 0;
}

/*
 * ====================================================================== *
 * MQ >=2222px — Full Max
 * ====================================================================== *
 */

@media only screen and (min-width: calc(2222rem/16)) {

	:root {
		--container-width: var(--container-max-width);
		--one-column-width: 130px;
	}

}

/*
 * ====================================================================== *
 * MQ <=1400px — Small Desktop
 * ====================================================================== *
 */

@media only screen and (max-width: calc(1400rem/16)) {

	:root {
		--container-width: 100%;
		--container-outer-margin: 0px;
	}

	.back-link {
		margin-left: var(--container-outer-padding);
	}

	#header {
		padding-left: var(--container-outer-padding);
	}

	#footer > .container {
		padding-left: var(--container-outer-padding);
		padding-right: var(--container-outer-padding);
	}

	/* Step between 136/100 desktop and 108/82 at 1300 — 10% smaller than desktop */
	.big-stat,
	.big-stat p {
		font-size: calc(122rem / 16);
		letter-spacing: 0.9px;
		line-height: calc(90 / 122);
	}

}

/*
 * ====================================================================== *
 * MQ <=1300px — Type Scale Step (type only, no layout changes here)
 * ====================================================================== *
 *
 * Type sizes step down at 1300 so headings have room to breathe before the
 * full laptop layout step at 1200 (container padding, module stacking, etc.)
 * kicks in. Don't add anything other than type rules to this MQ.
 */

@media only screen and (max-width: calc(1300rem/16)) {

	h1,
	.heading-1 {
		font-size: calc(90rem / 16);
		line-height: calc(78 / 90);
	}

	h2,
	.heading-2 {
		font-size: calc(68rem / 16);
		line-height: calc(60 / 68);
	}

	h3,
	.heading-3 {
		font-size: calc(44rem / 16);
		line-height: calc(52 / 44);
	}

	h4,
	.heading-4 {
		font-size: calc(36rem / 16);
		line-height: calc(38 / 36);
	}

	h5,
	.heading-5 {
		font-size: calc(30rem / 16);
		line-height: calc(30 / 30);
	}

	h6,
	.heading-6 {
		font-size: calc(26rem / 16);
		line-height: calc(34 / 26);
	}

	p.xlarge,
	ul.xlarge,
	ol.xlarge,
	.xlarge-text,
	.xlarge-text p,
	.xlarge-text ul,
	.xlarge-text ol {
		font-size: calc(24rem / 16);
		line-height: calc(30 / 24);
	}

	.big-stat,
	.big-stat p {
		font-size: calc(108rem / 16);
		letter-spacing: 0.8px;
		line-height: calc(82 / 108);
	}

	.quote,
	.quote p {
		font-size: calc(50rem / 16);
		line-height: calc(56 / 50);
	}

	.quote-small,
	.quote-small p {
		font-size: calc(34rem / 16);
		line-height: calc(38 / 34);
	}

}

/*
 * ====================================================================== *
 * MQ <=1200px — Laptop
 * ====================================================================== *
 */

@media only screen and (max-width: calc(1200rem/16)) {

	:root {
		--container-outer-padding: 40px;
		--header-height: 105px;
		--sticky-header-height: 115px;
	}

	html.active,
	html.active body {
		height: 100%;
		overflow: hidden;
	}

	/*** Header ***/

	#header {
		padding: 20px;
	}

	#header .flex-container {
		align-items: flex-start;
	}

	#header .logo {
		margin: 0;
		padding: 0;
		position: relative;
		transition: opacity .2s ease, visibility .2s ease;
		z-index: 99999;
	}

	#header.active .logo {
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
	}

	#header .logo-default svg {
		width: 100px;
	}

	#menu-main > .menu-item.menu-btn {
		margin-left: 0;
	}

	/* Donate is rendered as a fixed CTA in .mobile-nav-ctas, so suppress
	   the menu-btn item here to avoid the duplicate. */

	#menu-main > .menu-item.menu-btn {
		display: none;
	}

	#header .mobile-menu {
		align-items: center;
		background: var(--goldie-yellow);
		border: 0;
		border-radius: var(--border-radius-normal);
		cursor: pointer;
		display: flex !important;
		flex-direction: column;
		height: 44px;
		justify-content: center;
		margin: 0 0 0 auto;
		overflow: visible;
		position: relative;
		width: 44px;
		z-index: 99999;
		--menu-bar-height: 2px; /*Height of an individual menu bar*/
		--menu-bar-margin: 5px; /*Amount of spacing between the menu bars*/
		--menu-bar-width: 20px; /*Width of the menu bars*/
	}

	#header .mobile-menu:focus-visible {
		outline: 2px solid var(--black);
		outline-offset: 2px;
	}

	#header.active .mobile-menu:focus-visible {
		outline-color: var(--white); /* Contrast on dark background */
	}

	#header .mobile-menu span:not(.accessibility) {
		background: var(--black);
		border-radius: 0;
		display: block;
		height: var(--menu-bar-height);
		position: relative;
		width: var(--menu-bar-width);
	}

	#header .mobile-menu span:nth-of-type(2) {
		margin: var(--menu-bar-margin) 0;
	}

	/* Close — reposition hamburger as fixed X button when menu open */

	#header.active .mobile-menu {
		background: transparent !important;
		position: fixed;
		right: var(--container-outer-padding);
		top: var(--container-outer-padding);
	}

	#header.active .mobile-menu span:not(.accessibility) {
		background: var(--retriever-black);
	}

	#header.active .mobile-menu span:nth-of-type(1) {
		transform: translateY(calc(var(--menu-bar-height) + var(--menu-bar-margin))) rotate(45deg);
	}

	#header.active .mobile-menu span:nth-of-type(2) {
		margin-right: auto;
		width: 0;
	}

	#header.active .mobile-menu span:nth-of-type(3) {
		transform: translateY(calc((var(--menu-bar-height) + var(--menu-bar-margin)) * -1)) rotate(-45deg);
	}

	/* Nav */

	#header nav {
		background: var(--samoyed-white) !important;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		height: 100dvh;
		left: 0;
		opacity: 0;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 0 var(--container-outer-padding);
		position: fixed;
		top: 0;
		transition: .3s;
		visibility: hidden;
		width: 100%;
		z-index: 9999;
	}

	#header.active nav {
		opacity: 1;
		visibility: visible;
	}

	/* Mobile Nav Icons (search + saved pets) — aligned with close X */

	.mobile-nav-icons {
		display: none;
		gap: var(--text-spacing-xxsmall);
		left: var(--container-outer-padding);
		position: fixed;
		top: 20px;
		z-index: 99999;
	}

	#header.active .mobile-nav-icons {
		display: flex;
	}

	.mobile-nav-icons .btn.icon {
		background: var(--husky-blue-25);
		border-radius: 50%;
		color: var(--russian-blue);
		height: 44px;
		width: 44px;
	}

	.mobile-nav-icons .subnav-badge {
		font-size: calc(12rem / 16);
		height: 20px;
		width: 20px;
	}

	/* Main Menu List */

	#header nav #menu-main {
		align-items: flex-start;
		flex: 1;
		flex-direction: column;
		font-size: calc(22rem / 16);
		font-weight: 600;
		gap: var(--text-spacing-medium);
		gap: 0;
		justify-content: safe center;
		letter-spacing: 0.2px;
		line-height: calc(24 / 22);
		overflow: auto;
		/* Reserve room at the bottom for the absolute-positioned
		   .mobile-nav-footer so safe center actually centers the items
		   in the visible area above it. */
		padding: 100px var(--container-outer-padding) var(--mobile-nav-footer-reserve, 280px);
		position: relative;
		width: 100%;
		z-index: 1;
	}

	#header nav #menu-main > li {
		width: auto;
	}

	#menu-main > .menu-item-has-children > button,
	#menu-main > .menu-item-has-children > a,
	#menu-main > .menu-item > a {
		color: var(--russian-blue);
	}

	#menu-main > .menu-item > button {
		padding: 16px 0;
	}

	/* Hide caret, show right arrow on mobile menu items */

	#menu-main > li > a .menu-caret,
	#menu-main > li > button .menu-caret {
		display: none;
	}

	#menu-main > li:not(.nav-btn) > a::after,
	#menu-main > li:not(.nav-btn) > button::after {
		background: currentColor;
		content: '';
		display: inline-block;
		height: 8px;
		margin-left: var(--text-spacing-xxsmall);
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8' fill='none'%3E%3Cpath d='M0 5V3H12.3871L10.6323 1.28814L11.9398 0L16 4L11.9398 8L10.6323 6.69492L12.3871 5H0Z' fill='black'/%3E%3C/svg%3E");
		mask-repeat: no-repeat;
		mask-size: contain;
		vertical-align: middle;
		width: 16px;
	}

	/* Hide nav-btn items from main list (shown in footer instead) */

	#menu-main > .nav-btn {
		display: none;
	}

	.menu-caret {
		margin-left: 8px;
		transition: transform 0.25s ease;
	}

	#menu-main > .menu-item.active > a .menu-caret,
	#menu-main > .menu-item.active > button .menu-caret {
		transform: rotate(180deg);
	}

	#menu-main > .menu-item:hover > a .menu-caret,
	#menu-main > .menu-item:hover > button .menu-caret {
		transform: none;
	}

	/* Back button — submenu navigation */

	#header #back-to-main-nav {
		align-items: center;
		background: none;
		border: none;
		color: var(--retriever-black);
		cursor: pointer;
		display: none !important;
		font-size: calc(15rem / 16);
		font-weight: 600;
		gap: 4px;
		height: 44px;
		left: var(--container-outer-padding);
		letter-spacing: 0.2px;
		line-height: calc(20 / 15);
		opacity: 0;
		padding: 0;
		pointer-events: none;
		position: fixed;
		top: var(--container-outer-padding);
		visibility: hidden;
		z-index: 99999;
	}

	#header #back-to-main-nav svg {
		transition: transform .25s ease;
	}

	#header #back-to-main-nav:hover svg {
		transform: translateX(-5px);
	}

	/* Dropdown open state — back button visible, main items hidden */

	#header.dropdown-open #back-to-main-nav {
		display: flex !important;
		opacity: 1;
		pointer-events: auto;
		position: fixed;
		visibility: visible;
		z-index: 99999;
	}

	#header.dropdown-open .mobile-nav-icons {
		display: none  !important;
	}

	#header.dropdown-open .mobile-nav-footer {
		display: none !important;
	}

	#header.dropdown-open .mobile-nav-illustration {
		display: none  !important;
	}

	/* Mobile Nav Footer — beige section with links + CTAs */

	.mobile-nav-footer {
		background: var(--appaloosa-beige);
		bottom: 0;
		display: none;
		flex-direction: column;
		flex-shrink: 0;
		gap: var(--text-spacing-medium);
		padding: var(--text-spacing-small) var(--container-outer-padding) var(--text-spacing-large);
		position: absolute;
		width: 100%;
		z-index: 1;
	}

	.mobile-nav-footer-curve {
		bottom: 100%;
		color: var(--appaloosa-beige);
		left: 0;
		position: absolute;
		width: 100%;
	}

	.mobile-nav-footer-curve svg {
		display: block;
		width: 100%;
	}

	#header.active .mobile-nav-footer {
		display: flex;
	}

	/* Secondary links + language toggle — 2 column grid */

	.mobile-nav-footer #menu-secondary-mobile {
		column-gap: var(--text-spacing-xlarge);
		display: grid;
		grid-template-columns: 1fr 1fr;
		list-style: none;
		margin: 0;
		padding: 0;
		row-gap: var(--text-spacing-xsmall);
	}

	/* Report Cruelty is its own CTA button below the secondary list, so
	   hide the duplicate link in the secondary menu on mobile. */

	.mobile-nav-footer #menu-secondary-mobile .subnav-report-cruelty {
		display: none;
	}

	.mobile-nav-footer #menu-secondary-mobile a {
		color: var(--russian-blue);
		font-size: calc(17rem / 16);
		font-weight: 500;
		letter-spacing: 0.2px;
		line-height: calc(24 / 17);
	}

	.mobile-nav-lang {
		align-items: center;
		color: var(--russian-blue);
		display: flex;
		font-size: calc(17rem / 16);
		font-weight: 500;
		gap: 2px;
		letter-spacing: 0.2px;
	}

	.mobile-nav-lang > svg.svg-inline--fa {
		font-size: 0.75em;
		margin-right: calc(var(--text-spacing-xxsmall) - 2px);
	}

	.mobile-nav-lang .separator {
		color: var(--grayhound);
	}

	.mobile-nav-lang a:not(.active) {
		color: var(--grayhound);
	}

	/** Weglot Switcher (Mobile) **/

	.mobile-nav-lang-weglot .country-selector,
	.mobile-nav-lang-weglot .wg-default {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		margin: 0 !important;
		min-width: 0 !important;
		padding: 0 !important;
		position: relative !important;
		width: auto !important;
	}

	.mobile-nav-lang-weglot .country-selector input[type="checkbox"] {
		display: none !important;
	}

	.mobile-nav-lang-weglot .wgcurrent {
		align-items: center;
		background: transparent !important;
		border: 0 !important;
		color: var(--russian-blue) !important;
		cursor: pointer;
		display: flex !important;
		font-family: inherit !important;
		font-size: calc(17rem / 16) !important;
		font-weight: 500 !important;
		gap: 6px;
		letter-spacing: 0.2px;
		list-style: none;
		margin: 0 !important;
		padding: 0 !important;
		text-decoration: none !important;
		text-transform: uppercase;
	}

	.mobile-nav-lang-weglot .wgcurrent > * {
		display: none !important;
	}

	.mobile-nav-lang-weglot .wgcurrent::before {
		content: 'EN/SP';
	}

	.mobile-nav-lang-weglot .country-selector.weglot-dropdown .wgcurrent::after {
		background-color: rgba(1, 40, 70, 0.15) !important;
		background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='4' viewBox='0 0 6 4' fill='none'><path d='M2.1875 2.85938L0.1875 0.859375C0.046875 0.71875 0 0.5 0.078125 0.3125C0.15625 0.125 0.34375 0 0.546875 0H4.54688C4.75 0 4.92188 0.125 5 0.3125C5.07812 0.5 5.03125 0.71875 4.89062 0.859375L2.89062 2.85938C2.70312 3.0625 2.375 3.0625 2.1875 2.85938Z' fill='%23012846'/></svg>") !important;
		background-position: center calc(50% + 1px) !important;
		background-repeat: no-repeat !important;
		background-size: 5.5px 3.5px !important;
		border: 0 !important;
		border-radius: 50% !important;
		bottom: auto !important;
		content: '' !important;
		display: inline-block !important;
		flex-shrink: 0;
		height: 14px !important;
		left: auto !important;
		margin: 0 !important;
		position: relative !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		transition: transform 0.2s ease !important;
		width: 14px !important;
	}

	.mobile-nav-lang-weglot .country-selector.weglot-dropdown input:checked ~ .wgcurrent::after {
		transform: rotate(180deg) !important;
	}

	.mobile-nav-lang-weglot .country-selector img {
		display: none !important;
	}

	.mobile-nav-lang-weglot .wgdrop,
	.mobile-nav-lang-weglot .country-selector ul {
		background: var(--samoyed-white) !important;
		border: 0 !important;
		border-radius: var(--border-radius-normal) !important;
		box-shadow: var(--card-shadow) !important;
		left: auto !important;
		list-style: none !important;
		margin: 0 !important;
		min-width: 80px !important;
		padding: 6px 0 !important;
		position: absolute !important;
		right: 0 !important;
		top: calc(100% + 8px) !important;
		width: auto !important;
		z-index: 100;
	}

	.mobile-nav-lang-weglot .wgdrop li,
	.mobile-nav-lang-weglot .country-selector ul li {
		background: transparent !important;
		border: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.mobile-nav-lang-weglot .wgdrop a,
	.mobile-nav-lang-weglot .country-selector ul a {
		background: transparent !important;
		color: var(--russian-blue) !important;
		display: block !important;
		font-family: inherit !important;
		font-size: calc(17rem / 16) !important;
		font-weight: 500 !important;
		letter-spacing: 0.2px;
		padding: 8px 16px !important;
		text-decoration: none !important;
		text-transform: uppercase;
	}

	.mobile-nav-lang-weglot .wgdrop a:hover,
	.mobile-nav-lang-weglot .country-selector ul a:hover {
		background: var(--appaloosa-beige) !important;
		color: var(--russian-blue) !important;
	}

	/* CTA buttons */

	.mobile-nav-ctas {
		display: flex;
		gap: var(--text-spacing-xsmall);
	}

	.mobile-nav-ctas .btn {
		align-items: center;
		border-radius: var(--border-radius-normal);
		display: flex;
		flex: 1;
		font-size: calc(16rem / 16);
		font-weight: 600;
		height: 44px;
		justify-content: center;
		line-height: calc(24 / 16);
		padding: 0 var(--text-spacing-xsmall);
		text-align: center;
	}

	.mobile-nav-ctas .btn.report-cruelty {
		background: var(--goldie-yellow);
		border-color: var(--goldie-yellow);
	}

	.mobile-nav-ctas .btn.report-cruelty:hover {
		background: var(--goldie-yellow-hover);
		border-color: var(--goldie-yellow-hover);
	}

	/* Mobile Nav Illustration — decorative labrador silhouette */

	.mobile-nav-illustration {
		display: none;
		pointer-events: none;
		position: absolute;
		right: -80px;
		rotate: 8deg;
		top: 60%;
		width: 400px;
		z-index: 0;
	}

	#header.active .mobile-nav-illustration {
		display: block;
	}

	.mobile-nav-illustration svg {
		display: block;
		height: auto;
		width: 100%;
	}

	.mobile-nav-illustration svg path {
		fill: var(--appaloosa-beige);
	}

	/* Dropdown — Mobile Submenu */

	#header #menu-main > li > .sub-menu,
	#header #menu-main > li:hover > .sub-menu {
		background: var(--samoyed-white);
		border-radius: 0;
		box-shadow: none;
		display: none;
		height: 100dvh;
		left: 0;
		opacity: 0;
		overflow-y: auto;
		pointer-events: none;
		position: fixed;
		top: 0;
		transform: translate3d(0, 0, 0);
		visibility: hidden;
		width: 100%;
		z-index: 10;
	}

	#header #menu-main > li.active > .sub-menu {
		display: flex;
		flex-direction: column;
		opacity: 1;
		padding: 0;
		pointer-events: auto;
		visibility: visible;
	}

	/* Megamenu — Shared Mobile Intro (beige header with curve) */

	.mega-intro {
		align-items: flex-start;
		background: var(--appaloosa-beige);
		display: flex;
		flex-direction: column;
		gap: var(--text-spacing-xsmall);
		padding: 96px var(--container-outer-padding) var(--text-spacing-xlarge);
		position: relative;
		width: 100%;
	}

	.mega-intro .heading-5 {
		color: var(--russian-blue);
	}

	.mega-intro .xsmall-text {
		font-size: calc(14rem / 16);
		font-weight: 400;
		letter-spacing: 0.2px;
		line-height: calc(22 / 14);
	}

	.mega-intro .btn.secondary {
		margin-top: var(--text-spacing-xxsmall);
	}

	/* Megamenu — Graphic Links (Adopt) */

	.mega-submenu-heading {
		list-style: none;
	}

	.mega-submenu-heading h2 {
		color: var(--russian-blue);
		margin: 0;
	}

	#menu-main .sub-menu.graphic-links {
		background: var(--samoyed-white);
	}

	#menu-main .sub-menu.graphic-links > li {
		padding: 0 var(--container-outer-padding);
	}

	#menu-main .sub-menu.graphic-links > .mega-submenu-heading {
		background: var(--appaloosa-beige);
		padding: 96px var(--container-outer-padding) var(--text-spacing-xsmall);
	}

	.mega-submenu-heading h2 {
		font-size: calc(34rem / 16);
		letter-spacing: -0.1px;
		line-height: calc(38 / 34);
	}

	#menu-main .sub-menu.graphic-links > .mega-submenu-heading + li {
		background: var(--appaloosa-beige);
		padding: var(--text-spacing-small) var(--container-outer-padding) var(--text-spacing-xlarge);
		position: relative;
	}

	/* Curve at bottom of the graphic-links beige area (same SVG as .mega-intro) */

	#menu-main .sub-menu.graphic-links > .mega-submenu-heading + li::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none' fill='none'%3E%3Cmask id='m' width='1440' height='84' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Cpath fill='%23D9D9D9' d='M0 0h1440v84H0z'/%3E%3C/mask%3E%3Cg mask='url(%23m)'%3E%3Cellipse cx='1027' cy='-98.68' fill='%23e6e3de' rx='1222' ry='182.32'/%3E%3C/g%3E%3C/svg%3E") no-repeat center top;
		background-size: 100% 100%;
		content: '';
		height: 22px;
		left: 0;
		position: absolute;
		top: 100%;
		width: 100%;
	}

	.mega-graphic-links,
	#menu-main .sub-menu.graphic-links .mega-graphic-links {
		column-gap: 20px;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		list-style: none;
		margin: 0;
		padding: 0;
		row-gap: var(--text-spacing-medium);
	}

	/* Group-heading pills inside link-list submenus (Veterinary Care,
	   Get Involved, etc.) read smaller and tighter on mobile. */

	.mega-link-groups .pill.small {
		align-items: center;
		border-radius: 4px;
		display: inline-flex;
		font-size: calc(10rem / 16);
		height: 20px;
		padding: 0 var(--text-spacing-xxsmall);
	}

	.card.menu-image {
		align-items: center;
		gap: var(--text-spacing-xsmall);
	}

	.card.menu-image .media {
		aspect-ratio: 158 / 120;
		border-radius: var(--border-radius-normal);
	}

	.card.menu-image .media + * {
		margin-top: 0;
	}

	.card.menu-image .btn.secondary {
		align-items: center;
		flex-direction: column;
		font-size: calc(15rem / 16);
		text-align: center;
	}

	a.card.menu-image:hover .media img {
		transform: none;
	}

	.mega-intro::after {
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none' fill='none'%3E%3Cmask id='m' width='1440' height='84' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Cpath fill='%23D9D9D9' d='M0 0h1440v84H0z'/%3E%3C/mask%3E%3Cg mask='url(%23m)'%3E%3Cellipse cx='1027' cy='-98.68' fill='%23e6e3de' rx='1222' ry='182.32'/%3E%3C/g%3E%3C/svg%3E") no-repeat center top;
		background-size: 100% 100%;
		content: '';
		height: 22px;
		left: 0;
		position: absolute;
		top: 100%;
		width: 100%;
	}

	/* Megamenu — Link Lists (Vet Care) */

	.mega-link-lists {
		flex-direction: column;
		gap: 0;
	}

	.mega-link-groups {
		border-left: none;
		column-gap: var(--text-spacing-xlarge);
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: var(--text-spacing-xlarge) var(--container-outer-padding);
		row-gap: var(--text-spacing-medium);
	}

	.mega-group {
		gap: var(--text-spacing-small);
	}

	.mega-group ul {
		gap: var(--text-spacing-xsmall);
	}

	.mega-group ul li a {
		font-size: calc(15rem / 16);
		font-weight: 600;
		letter-spacing: 0.2px;
	}

	.mega-featured-image {
		display: none;
	}

	/* Megamenu — Link List (About Us) */

	.mega-link-list {
		flex-direction: column;
		gap: 0;
	}

	.mega-flat-links {
		border-left: none;
		display: flex;
		flex-direction: column;
		gap: 20px;
		list-style: none;
		margin: 0;
		padding: var(--text-spacing-xlarge) var(--container-outer-padding);
	}

	.mega-flat-links li a {
		color: var(--retriever-black);
		font-size: calc(18rem / 16);
		font-weight: 600;
		letter-spacing: 0.2px;
		line-height: calc(24 / 18);
	}

	.mega-featured-posts {
		background: var(--husky-blue-25);
		border-left: none;
		padding: var(--text-spacing-large) var(--container-outer-padding);
	}

	.mega-featured-posts header {
		align-items: center;
		margin-bottom: var(--text-spacing-xsmall);
	}

	.mega-featured-posts .large.semibold {
		color: var(--russian-blue);
	}

	.mega-post-cards {
		gap: var(--text-spacing-medium);
	}

	.mega-media {
		display: none;
	}

	.mega-cards {
		grid-template-columns: 1fr;
	}

	/* Megamenu grid layouts */

	#menu-main .sub-menu > li.grid,
	#menu-main .sub-menu.link-lists-featured-posts > li.grid,
	#menu-main .sub-menu.posts > li.grid {
		display: flex;
		flex-direction: column;
		gap: var(--text-spacing-small);
	}

	/***Archive***/

	.archive-content article [jx-form-results-items] {
		grid-template-columns: repeat(2, 1fr);
	}

	.archive-content [data-jazzy-scroll] {
		transform: unset !important;
	}

	.archive-content .grid > form,
	.archive-content .grid > article {
		grid-column: 1 / -1;
	}

	.archive-content #open-filters {
		background: none;
		border: none;
		display: flex;
		max-width: max-content;
		padding: 0;
	}

	.archive-content .sidebar-container {
		background: var(--white);
		height: 100dvh;
		left: unset;
		max-width: 310px;
		overflow: auto;
		padding: var(--text-spacing-xlarge) var(--text-spacing-small) var(--text-spacing-small);
		pointer-events: none;
		position: fixed;
		right: 0;
		top: 0;
		transform: translate3d(100%, 0, 0);
		transition: transform 0.25s ease, visibility 0.25s ease;
		visibility: hidden;
		width: 100vw;
		z-index: 99999;
	}

	.archive-content .sidebar-container.active {
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
		visibility: visible;
	}

	.archive-content .sidebar-container #close-filters {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
	}

	/*** Animal Shapes ***/

	.module-animal-shape {
		width: 160px;
	}

	.module-animal-shape.animal-cat {
		width: 240px;
	}

	.module-animal-shape.animal-chicken {
		width: 160px;
	}

	.module-animal-shape.animal-horse {
		width: 234px;
	}

	.module-animal-shape.animal-labrador {
		width: 224px;
	}

	.module-animal-shape.animal-pig {
		width: 272px;
	}

	.module-animal-shape.animal-pitbull {
		width: 339px;
	}

	.module-animal-shape.animal-rabbit {
		width: 280px;
	}

	.module-animal-shape.animal-sheep {
		width: 276px;
	}

}

/*
 * ====================================================================== *
 * MQ <=950px — Tablet
 * ====================================================================== *
 */

@media only screen and (max-width: calc(950rem/16)) {

	:root {
		--module-spacing-medium: 64px;
		--module-spacing-large: 100px;
		--module-spacing-xlarge: 120px;
		--subnav-height: 0px;
	}

	/*** Card: Person — no hover on touch, so the arrow is always visible ***/

	.person-card .arrow-block {
		margin-top: auto;
		opacity: 1;
		position: static;
		transform: none;
	}

	button.person-card:hover .media,
	button.person-card:hover .card-text {
		transform: none;
	}

	/*** Person Bio Dialog — stacks, whole column scrolls ***/

	.person-bio-dialog[open] {
		max-width: 600px;
	}

	.person-bio-dialog .modal-close {
		background: var(--samoyed-white);
		color: var(--retriever-black);
		height: 44px;
		right: 4px;
		top: 4px;
		width: 44px;
	}

	.person-bio-dialog .modal-close:hover {
		background: var(--samoyed-white);
	}

	.person-bio-dialog-content {
		flex-direction: column;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.person-bio-dialog-content > .media {
		aspect-ratio: 3 / 2;
		border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
		flex-shrink: 0;
		max-height: 300px;
		width: 100%;
	}

	.person-bio-dialog-info {
		overflow: visible;
		padding: var(--text-spacing-large);
	}

	/* Sticky header keeps its slide-in/out behavior at this width but loses
	   the white bar styling — header pieces sit on whatever's behind. */
	#header.sticky {
		background: transparent;
		box-shadow: none;
	}

	.mobile-nav-illustration {
		top: 54%;
		width: 320px;
	}

	/* Page content — heading + article span full container width */

	.module.hero.centered:has(+ .page-content) .heading-1 {
		grid-column: 1 / -1;
	}

	.page-content article {
		grid-column: 1 / -1;
	}

	/* Touch-friendly accordion expand/collapse — 44x44 with 16x16 icon */

	.accordion button .expand,
	.accordion button .collapse {
		height: 44px;
		width: 44px;
	}

	.accordion button .expand svg,
	.accordion button .collapse svg {
		height: 16px;
		width: 16px;
	}

	.tablet-only {
		display: block !important;
	}

	.desktop-only {
		display: none !important;
	}

	.alert-bar.desktop-only + #header {
		margin-top: 0; /* If the alert bar next to the header is desktop-only, there is no mobile version */
	}

	#header.sticky .logo {
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
	}

	/*** Cards ***/

	.card.event .media {
		width: 220px;
	}

	/*** Newsletter Bar ***/

	.newsletter-bar .container {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--text-spacing-xsmall);
	}

	/*** Footer ***/

	.footer-top {
		align-items: stretch;
		flex-direction: column;
		gap: var(--text-spacing-xlarge);
	}

	.footer-identity {
		align-items: flex-start;
	}

	.footer-description {
		max-width: none;
	}

	.footer-nav > ul {
		justify-content: flex-start;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--text-spacing-medium);
		margin-top: 0;
	}

	/*** Archives ***/

	.archive-content article [jx-form-results-items] {
		grid-template-columns: repeat(2, 1fr);
	}

	/*** Donate Modal ***/

	.donate-modal-grid {
		grid-template-columns: 1fr;
	}

	.donate-modal-content {
		padding: var(--text-spacing-medium);
		position: relative;
	}

	.donate-modal-form {
		border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
		padding: var(--text-spacing-medium);
	}

	/*** Animal Shapes ***/

	.module-animal-shape {
		width: 120px;
	}

	.module-animal-shape.animal-cat {
		width: 180px;
	}

	.module-animal-shape.animal-chicken {
		width: 120px;
	}

	.module-animal-shape.animal-horse {
		width: 175px;
	}

	.module-animal-shape.animal-labrador {
		width: 168px;
	}

	.module-animal-shape.animal-pig {
		width: 204px;
	}

	.module-animal-shape.animal-pitbull {
		width: 254px;
	}

	.module-animal-shape.animal-rabbit {
		width: 210px;
	}

	.module-animal-shape.animal-sheep {
		width: 207px;
	}

}

/*
 * ====================================================================== *
 * MQ <=650px — Mobile
 * ====================================================================== *
 */

@media only screen and (max-width: calc(650rem/16)) {

	:root {
		/* Header becomes relative on mobile, no need for extra space */
		--header-height: 0px;
		/* JS never applies .sticky below this breakpoint */
		--sticky-header-height: 0px;
	}

	/*** Person Bio Dialog ***/

	.person-bio-dialog-info {
		padding: var(--text-spacing-medium);
	}

	.mobile-nav-illustration {
		top: 50%;
		width: 245px;
	}

	/* Page content — reduce top padding on hero and content on mobile */

	.module.hero.centered:has(+ .page-content) {
		padding-top: var(--text-spacing-small);
	}

	.page-content,
	#main .page-content:only-child {
		padding-top: var(--text-spacing-small);
	}

	#header {
		position: relative;
		top: 0;
	}

	#header .mobile-menu {
		position: fixed;
		right: var(--container-outer-padding);
		top: 20px;
		z-index: 99999;
	}

	.alert-bar.desktop-only ~ #header {
		margin-top: 0;
	}

	.alert-bar.tablet-only ~ #header .mobile-menu {
		position: absolute;
		right: 0;
		top: 0;
	}

	#header .logo-default svg {
		height: 72px;
		width: auto;
	}


	/*** Header — on-dark → on-light when image hero stacks (text above image) ***/

	#header.on-dark:not(.sticky) .logo-default svg path {
		fill: var(--russian-blue);
	}

	#header.on-dark:not(.sticky) .mobile-menu {
		background: var(--goldie-yellow);
	}

	#header.on-dark:not(.sticky) .mobile-menu span:not(.accessibility) {
		background: var(--retriever-black);
	}

	:root {
		--container-outer-padding: 20px;
		--grid: 1fr;
		--module-spacing-large: 64px;
		--module-spacing-xlarge: 80px;
	}

	/*** Mobile Type Scale ***/

	h1,
	.heading-1 {
		font-size: calc(64rem / 16);
		line-height: calc(60 / 64);
	}

	h2,
	.heading-2 {
		font-size: calc(52rem / 16);
		line-height: calc(50 / 52);
	}

	h3,
	.heading-3 {
		font-size: calc(34rem / 16);
		letter-spacing: -0.1px;
		line-height: calc(38 / 34);
	}

	h4,
	.heading-4 {
		font-size: calc(30rem / 16);
		line-height: calc(34 / 30);
	}

	h5,
	.heading-5 {
		font-size: calc(26rem / 16);
		line-height: calc(28 / 26);
	}

	h6,
	.heading-6 {
		font-size: calc(24rem / 16);
		line-height: calc(32 / 24);
	}

	p.xlarge,
	ul.xlarge,
	ol.xlarge,
	.xlarge-text,
	.xlarge-text p,
	.xlarge-text ul,
	.xlarge-text ol {
		font-size: calc(22rem / 16);
		line-height: calc(28 / 22);
	}

	p.large,
	ul.large,
	ol.large,
	.large-text,
	.large-text p,
	.large-text ul,
	.large-text ol {
		font-size: calc(18rem / 16);
		line-height: calc(30 / 18);
	}

	p,
	ul,
	ol,
	.regular-text,
	.regular-text p,
	.regular-text ul,
	.regular-text ol,
	.medium-text,
	.medium-text p,
	.medium-text ul,
	.medium-text ol {
		font-size: calc(16rem / 16);
		letter-spacing: 0.2px;
		line-height: calc(28 / 16);
	}

	.big-stat,
	.big-stat p {
		font-size: calc(80rem / 16);
		letter-spacing: 0.6px;
		line-height: calc(60 / 80);
	}

	.quote,
	.quote p {
		font-size: calc(38rem / 16);
		letter-spacing: 0.3px;
		line-height: calc(42 / 38);
	}

	.quote-small,
	.quote-small p {
		font-size: calc(30rem / 16);
		letter-spacing: 0.3px;
		line-height: calc(34 / 30);
	}

	.btn {
		font-size: calc(16rem / 16);
		line-height: calc(24 / 16);
	}

	.btn.primary {
		padding: 11px 20px;
	}

	.arrow-block {
		height: 28px;
		width: 28px;
	}

	.arrow-block svg {
		height: 7px;
		width: 14px;
	}

	/*** Mobile Heading Underlines ***/

	h1 u::after, .heading-1 u::after {
		height: 8px;
		top: 100%;
		width: calc(100% + 32px);
	}

	h2 u::after, .heading-2 u::after {
		height: 6px;
		top: calc(100% + 1px);
		width: calc(100% + 20px);
	}

	h3 u::after, .heading-3 u::after {
		height: 5px;
		top: calc(100% - 3px);
		width: calc(100% + 16px);
	}

	h4 u::after, .heading-4 u::after {
		height: 4px;
		top: calc(100% - 2px);
		width: calc(100% + 16px);
	}

	.mobile-only {
		display: block !important;
	}

	/*** Media — play icon ***/

	.media .play-icon {
		height: 48px;
		width: 48px;
	}

	/*** Favorite Button ***/

	.favorite-btn {
		height: 32px;
		width: 32px;
	}

	.favorite-btn svg {
		height: 14px;
		width: 14px;
	}

	/*** Cards ***/

	.card.event {
		align-items: flex-start;
		flex-direction: column;
	}

	.card.event .media {
		aspect-ratio: auto;
		max-width: 475px;
		width: 100%;
	}

	.card.event .media img {
		height: auto;
		position: static;
	}

	.card.event .content {
		padding-left: 0;
	}

	/*** Footer ***/

	#footer {
		padding: var(--module-spacing-small) 0;
	}

	.footer-social {
		justify-content: flex-start;
	}

	.footer-nav > ul {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--text-spacing-medium);
	}

	.footer-legal {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--text-spacing-xxsmall);
	}

	.footer-legal ul {
		flex-wrap: wrap;
		gap: var(--text-spacing-xsmall);
	}

	.footer-badges {
		justify-content: flex-start;
	}

	/*** Back Link ***/

	.back-link {
		margin-left: 20px;
	}

	/*** Animal Shapes ***/

	.module-animal-shape {
		display: none;
	}

	.module.cards-grid .module-animal-shape,
	.module.cta.image-cta .module-animal-shape,
	.module.donation-impact-cards .module-animal-shape,
	.module.media-content .module-animal-shape {
		display: block;
	}

	/*** Archives ***/

	.archive-content article [jx-form-results-items] {
		grid-template-columns: 1fr;
	}

	/* Adjacent same-color flush modules — tighter bottom padding on
	   mobile so the joined color block doesn't read as two stacked
	   sections. */

	.module.background-appaloosa-beige:has(+ .module.background-appaloosa-beige.module-spacing-flush) > .container,
	.module.background-russian-blue:has(+ .module.background-russian-blue.module-spacing-flush) > .container,
	.module.background-mustang-blue:has(+ .module.background-mustang-blue.module-spacing-flush) > .container {
		padding-bottom: var(--text-spacing-small);
	}

}

/*
 * ====================================================================== *
 * SVG Loader — Global Loading Spinner For Jazzy AJAX And Any Async Ui
 * ====================================================================== *
 */

.svg-loader {
	left: 50%;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
}

:not(.loading) > .svg-loader {
	display: none;
}

.svg-loader .svg-container {
	height: 48px;
	width: 48px;
}

.svg-loader .loader-svg {
	fill: none;
	stroke-linecap: round;
}

.svg-loader .loader-svg.bg {
	stroke: var(--wolfhound-gray);
	stroke-width: 6px;
}

.svg-loader .loader-svg.animate {
	animation: loader-spin .9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
	stroke: var(--mustang-blue);
	stroke-dasharray: 180 283;
	stroke-width: 6px;
	transform-origin: center;
}

@keyframes loader-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/*
 * ====================================================================== *
 * Accessibility Reduce Motions
 * ====================================================================== *
 */

@media (prefers-reduced-motion: no-preference) {

	html {
		scroll-behavior: smooth;
	}

	section {
		scroll-margin-top: 130px;
	}

	/*** JazzyScroll Animations ***/

	[data-jazzy-scroll] {
		pointer-events: none;
		transition-duration: .8s;
		transition-property: opacity, transform;
		transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
	}

	[data-jazzy-scroll].animated-in {
		pointer-events: all;
	}

	/* All fade ins */

	[data-jazzy-scroll*="fade-in"] {
		opacity: 0;
		transition-property: opacity;
	}


	[data-jazzy-scroll*="fade-in"].animated-in {
		opacity: 1;
	}

	/* Fade in up */

	[data-jazzy-scroll="fade-in-up"] {
		position: relative;
		transform: translate3d(0, 60px, 0);
		transition-property: opacity, transform;
	}

	[data-jazzy-scroll="fade-in-up"].animated-in {
		transform: translate3d(0, 0, 0);
	}

	/*** Header ***/

	#header .mobile-menu span:not(.accessibility) {
		transition: .3s;
	}

	/*** Zoom Images ***/

	a:hover .image-zoom img,
	button:hover .image-zoom img {
		transform: scale(1.05);
	}

}

/*
 * ====================================================================== *
 * PA Map — Global
 * ====================================================================== *
 *
 * Shared PA Pennsylvania state map with 4 highlightable regions + pin.
 * Used in the single-location sidebar and the locations archive list.
 * Context-specific sizing/margins live in their respective module CSS.
 */

.pa-map {
	aspect-ratio: 200 / 116;
	max-width: 200px;
	position: relative;
	width: 100%;
}

.pa-map-svg {
	display: block;
	height: 100%;
	width: 100%;
}

/*** Regions ***/

.pa-map-outline {
	fill: var(--appaloosa-beige);
}

.pa-map-region {
	fill: var(--husky-blue-50);
	transition: fill .2s ease;
}

.pa-map[data-active-region="philadelphia"] #pa-region-philadelphia,
.pa-map[data-active-region="phoenixville"] #pa-region-phoenixville,
.pa-map[data-active-region="lancaster"] #pa-region-lancaster,
.pa-map[data-active-region="danville"] #pa-region-danville {
	fill: var(--russian-blue);
}

/*** Pin ***/

.pa-map-pin {
	height: 58px;
	left: var(--pa-pin-x);
	position: absolute;
	top: var(--pa-pin-y);
	/* Anchor tip (bottom-center) to the region's top-center, 6px above */
	transform: translate(-50%, calc(-100% - 6px));
	width: 48px;
}

/** Per-region pin positions (top-center of each region as % of 200x116) **/

.pa-map[data-active-region="philadelphia"] {
	--pa-pin-x: 93%;
	--pa-pin-y: 84%;
}

.pa-map[data-active-region="phoenixville"] {
	--pa-pin-x: 82%;
	--pa-pin-y: 79%;
}

.pa-map[data-active-region="lancaster"] {
	--pa-pin-x: 72%;
	--pa-pin-y: 77%;
}

.pa-map[data-active-region="danville"] {
	--pa-pin-x: 66%;
	--pa-pin-y: 44%;
}

/*
 * ====================================================================== *
 * Toolbar
 * ====================================================================== *
 */
