/* Adopt a Cow — listing + profiles */

body.rya-page {
	--rya-filter-top: 5.5rem;
	--rya-sticky-stack: 8.5rem;
	--rya-ink: #2c1810;
	--rya-muted: #5c4a3a;
	--rya-gold: #c5942a;
	--rya-gold-deep: #a67b1f;
	--rya-cream: #f5ede3;
	--rya-paper: #faf7f2;
	--rya-line: #e8ddd4;
	--rya-open: #2f6b3a;
	--rya-walked: #9a6b24;
	--rya-taken: #6b5344;
	--rya-pregnant: #8a3d1c;
	--rya-female: #7a3d4a;
	--rya-male: #2d4a62;
	background: var(--rya-paper);
	overflow-x: clip;
	scroll-padding-top: var(--rya-sticky-stack, 8.5rem);
}

body.rya-page.has-gg-bar {
	--rya-filter-top: 8.75rem;
	--rya-sticky-stack: 12rem;
}

body.rya-page .site-header.site-header--sticky {
	transition: opacity 0.2s ease, visibility 0.2s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

body.rya-page.rya-filters-stuck .site-header.site-header--sticky {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 50;
	box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
	body.rya-page .site-header.site-header--sticky {
		transition: none;
	}
}

body.rya-page #header-promo,
body.rya-page .featured-image-container {
	display: none !important;
}

body.rya-page .overflow-container {
	overflow: visible;
}

body.rya-page #main-container.main-container {
	margin-top: 0;
	padding: 0;
}

body.rya-page .yoast-breadcrumbs {
	display: none;
}

.rya {
	color: var(--rya-ink);
}

.rya a:focus-visible,
.rya button:focus-visible {
	outline: 2px solid var(--rya-gold);
	outline-offset: 3px;
}

.rya-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 5%;
}

.rya-section {
	padding: 3.75rem 0;
}

/* Keep hash jumps below the sticky header; ids sit on compact headings, not tall sections. */
#herd,
#how,
#why,
#still,
#faq,
#adopt,
#timeline,
[id^="family-"] {
	scroll-margin-top: var(--rya-sticky-stack, 8.5rem);
}

.rya-section--cream {
	background: var(--rya-cream);
}

.rya-kicker {
	display: block;
	font-family: Lato, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rya-gold);
	margin: 0 0 0.7rem;
}

.rya-kicker--light {
	color: #e3b34a;
}

.rya-heading {
	font-family: Lato, sans-serif;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.55em;
	color: var(--rya-ink);
}

.rya-lead,
.rya-copy {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--rya-muted);
	margin: 0 0 1.15rem;
}

.rya-lead--center {
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.rya-answer {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--rya-ink);
}

.rya-ornament {
	width: 80px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #a67b1f, #c5942a);
	margin: 0.2em auto 0;
}

.rya-header {
	text-align: center;
	margin-bottom: 2.35rem;
}

.rya-header--left {
	text-align: left;
	margin-bottom: 1.35rem;
}

.rya-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.rya-hero__devotion {
	margin: 0.15rem 0 1.05rem;
	max-width: 36rem;
	font-style: italic;
	font-size: 1.02rem;
	line-height: 1.55;
	color: #f3e2b8;
}

/* Listing hero */

.rya-hero {
	position: relative;
	min-height: min(82vh, 760px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: #2c1810;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.rya-hero__media,
.rya-hero__shade {
	position: absolute;
	inset: 0;
}

.rya-hero__media picture,
.rya-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rya-hero__shade {
	background:
		linear-gradient(180deg, rgba(20, 10, 6, 0.12) 0%, rgba(20, 10, 6, 0.42) 48%, rgba(20, 10, 6, 0.88) 100%),
		linear-gradient(90deg, rgba(20, 10, 6, 0.4) 0%, transparent 58%);
}

.rya-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 5rem 0 3.4rem;
}

.rya-hero h1 {
	font-family: Lato, sans-serif;
	font-size: clamp(2.2rem, 5.6vw, 3.7rem);
	font-weight: 900;
	line-height: 1.06;
	letter-spacing: -0.025em;
	margin: 0 0 0.55em;
	max-width: 12em;
	color: #fff;
}

.rya-hero__lead {
	max-width: 38rem;
	color: rgba(255, 248, 236, 0.92);
	margin: 0 0 1.7rem;
}

.rya-hero .ms-trust-pills {
	margin-top: 1.15rem;
}

/* Stats */

.rya-stats {
	background: #fff;
	border-bottom: 1px solid var(--rya-line);
}

.rya-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	padding: 1.6rem 5%;
}

.rya-stats__grid strong {
	display: block;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	color: var(--rya-ink);
}

.rya-stats__grid span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.875rem;
	color: var(--rya-muted);
}

/* Steps */

.rya-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	position: relative;
}

.rya-steps li {
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 1.25rem;
	padding: 1.4rem 1.25rem 1.5rem;
	box-shadow: 0 10px 28px rgba(44, 24, 16, 0.04);
}

.rya-steps__num {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rya-gold);
	margin-bottom: 0.85rem;
}

.rya-steps__icon {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	background: #fff6e3;
	color: var(--rya-gold-deep);
	margin-bottom: 0.85rem;
}

.rya-steps h3 {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	font-weight: 800;
}

.rya-steps p {
	margin: 0;
	color: var(--rya-muted);
	line-height: 1.6;
}

/* Filters + cards */

.rya-filters,
.rya-filters-bar,
.rya-families,
.rya-family,
.rya-card {
	overflow-anchor: none;
}

.rya-filters-sentinel {
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.rya-filters-bar {
	position: sticky;
	top: var(--rya-filter-top, 5.5rem);
	z-index: 200;
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 1.35rem;
	margin-left: calc(-50vw + 50%);
	padding: 0.75rem 0 0.95rem;
	background: var(--rya-cream);
	box-sizing: border-box;
	isolation: isolate;
}

.rya-filters-bar.is-stuck {
	box-shadow: 0 10px 22px -12px rgba(44, 24, 16, 0.28);
	border-bottom: 1px solid rgba(44, 24, 16, 0.06);
}

.rya-filters-bar.is-stuck::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 12px;
	background: var(--rya-cream);
	pointer-events: none;
}

.rya-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin: 0;
}

.rya-filters button {
	appearance: none;
	border: 1px solid var(--rya-line);
	background: #fff;
	color: var(--rya-ink);
	border-radius: 999px;
	padding: 0.45rem 0.95rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}

.rya-filters button.is-on {
	background: var(--rya-ink);
	border-color: var(--rya-ink);
	color: #fff8ec;
}

.rya-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
}

.rya-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 1.35rem;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(44, 24, 16, 0.05);
	min-height: 100%;
}

.rya-card.is-hidden {
	display: none !important;
}

.rya-herd-stage {
	position: relative;
	z-index: 0;
	isolation: isolate;
	min-height: 8rem;
}

.rya-herd-stage.is-loading {
	min-height: 16rem;
}

.rya-herd-stage.is-loading .rya-families,
.rya-herd-stage.is-loading .rya-grid--filtered,
.rya-herd-stage.is-loading .rya-empty {
	display: none !important;
}

.rya-herd-loader {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	min-height: 16rem;
	color: var(--rya-muted);
	font-size: 0.95rem;
	font-weight: 700;
}

.rya-herd-stage.is-loading .rya-herd-loader,
.rya-herd-loader:not([hidden]) {
	display: flex;
}

.rya-herd-spinner {
	width: 2.25rem;
	height: 2.25rem;
	border: 3px solid rgba(44, 24, 16, 0.12);
	border-top-color: var(--rya-gold);
	border-radius: 50%;
	animation: rya-spin 0.7s linear infinite;
}

.rya-grid--filtered {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.rya-grid--filtered .rya-card {
	min-width: 0;
}

.rya-grid--filtered .rya-card__body {
	min-width: 0;
}

.rya-grid--filtered .rya-card__kn,
.rya-grid--filtered .rya-card h3,
.rya-grid--filtered .rya-card__meta,
.rya-grid--filtered .rya-card__kartas,
.rya-grid--filtered .rya-card__notes,
.rya-grid--filtered .rya-card .lp-btn {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.rya-grid--filtered .rya-card__price {
	white-space: normal;
}

.rya-grid--filtered .rya-chips,
.rya-grid--filtered .rya-idfacts,
.rya-grid--filtered .rya-card__sum {
	display: none;
}

.rya-grid--filtered .rya-card__notes {
	display: flex;
}

.rya-grid--filtered .rya-card .lp-btn {
	display: inline-flex;
	white-space: normal;
	text-align: center;
	width: 100%;
	justify-content: center;
	margin-top: auto;
}

.rya-grid--filtered .rya-pill {
	max-width: calc(100% - 1.1rem);
	overflow-wrap: anywhere;
	line-height: 1.25;
}

@keyframes rya-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rya-herd-spinner {
		animation: none;
		border-top-color: var(--rya-gold-deep);
	}
}

.rya-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #3a2418;
}

.rya-card__media picture,
.rya-journal picture {
	display: block;
	width: 100%;
	height: 100%;
}

.rya-card__media img,
.rya-journal__img,
.rya-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.rya-card__media img {
	transition: transform 0.55s ease;
}

@media (hover: hover) and (pointer: fine) {
	.rya-card:hover .rya-card__media img {
		transform: scale(1.05);
	}
}

.rya-pill {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.rya-pill--open {
	background: var(--rya-open);
}

.rya-pill--walked {
	background: var(--rya-walked);
}

.rya-pill--taken {
	background: var(--rya-taken);
}

.rya-pill--pregnant {
	left: auto;
	right: 0.85rem;
	background: var(--rya-pregnant);
}

.rya-pill--rel {
	top: auto;
	bottom: 0.85rem;
	left: 0.85rem;
	background: rgba(44, 24, 16, 0.78);
}

.rya-card--pregnant {
	border-color: rgba(138, 61, 28, 0.28);
	box-shadow: 0 16px 36px rgba(138, 61, 28, 0.08);
}

.rya-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.15rem 1.2rem 1.3rem;
	flex: 1;
}

.rya-card__top {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	align-items: flex-start;
}

.rya-card__kn {
	margin: 0;
	font-size: 0.92rem;
	color: var(--rya-gold-deep);
}

.rya-card h3 {
	margin: 0.1rem 0 0.15rem;
	font-size: 1.35rem;
	font-weight: 900;
}

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

.rya-card__meta,
.rya-card__sum,
.rya-card__family {
	margin: 0;
	color: var(--rya-muted);
	line-height: 1.55;
}

.rya-card__family {
	margin-top: 0.2rem;
	font-size: 0.88rem;
	font-weight: 650;
	color: var(--rya-gold-deep);
}

.rya-card__notes {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-direction: column;
	gap: 0.4rem;
}

.rya-card__notes li {
	margin: 0;
	padding: 0.5rem 0.7rem;
	border-radius: 0.7rem;
	background: var(--rya-paper);
	font-size: 0.86rem;
	font-weight: 650;
	line-height: 1.45;
	color: var(--rya-ink);
}

.rya-card__notes li.is-pregnant {
	background: #f4e4d8;
	color: var(--rya-pregnant);
}

.rya-card__notes li.is-dana {
	background: #fff1d4;
	color: var(--rya-gold-deep);
}

.rya-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
}

.rya-chips--hero {
	margin: 0 0 0.95rem;
}

.rya-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 0.22rem 0.7rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	background: var(--rya-cream);
	color: var(--rya-ink);
}

.rya-chip--female {
	background: #f3e4e8;
	color: var(--rya-female);
}

.rya-chip--male {
	background: #e4eaf1;
	color: var(--rya-male);
}

.rya-chip--pregnant {
	background: #f4e4d8;
	color: var(--rya-pregnant);
}

.rya-chip--dana {
	background: #fff1d4;
	color: var(--rya-gold-deep);
}

.rya-chip--mother,
.rya-chip--bull {
	background: #fff1d4;
	color: var(--rya-gold-deep);
}

.rya-idfacts {
	display: grid;
	gap: 0.4rem;
	margin: 0;
}

.rya-idfacts__row {
	display: grid;
	grid-template-columns: minmax(6.5rem, 38%) 1fr;
	gap: 0.45rem 0.7rem;
	align-items: baseline;
	padding: 0.4rem 0.55rem;
	border-radius: 0.7rem;
	background: var(--rya-paper);
}

.rya-idfacts dt {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rya-muted);
}

.rya-idfacts dd {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--rya-ink);
}

.rya-idfacts a {
	color: inherit;
	text-underline-offset: 0.15em;
}

.rya-idfacts__row.is-pregnant,
.rya-idfacts__row.is-father {
	background: #fff1e6;
}

.rya-idfacts__row.is-pregnant dt,
.rya-idfacts__row.is-father dt {
	color: var(--rya-pregnant);
}

.rya-families {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
	align-items: start;
}

.rya-tree--wide {
	grid-column: 1 / -1;
}

.rya-family.is-hidden {
	display: none !important;
}

.rya-family__head {
	margin: 0 0 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--rya-line);
}

.rya-family__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 900;
	letter-spacing: -0.02em;
}

.rya-family__lead {
	margin: 0;
	max-width: 44rem;
	color: var(--rya-muted);
	line-height: 1.6;
}

.rya-tree {
	padding: 1.1rem 1rem 1.2rem;
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 1.4rem;
	box-shadow: 0 12px 28px rgba(44, 24, 16, 0.04);
	position: relative;
	z-index: 0;
	isolation: isolate;
}

.rya-tree__canvas {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	padding: 0.55rem 0 0.4rem;
	-webkit-overflow-scrolling: touch;
	position: relative;
	z-index: 0;
	isolation: isolate;
}

.rya-tree__gen {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.rya-tree__gen--root {
	position: relative;
	z-index: 1;
}

.rya-tree--family .rya-tree__gen--root::after {
	content: "";
	display: block;
	width: 3px;
	height: 1.35rem;
	margin: 0 auto;
	background: var(--rya-gold-deep);
	border-radius: 2px;
}

.rya-tree__gen--children {
	flex-wrap: nowrap;
	gap: 1.1rem 1.15rem;
	position: relative;
	padding-top: 1.35rem;
}

.rya-tree--family .rya-tree__gen--children::before {
	content: "";
	position: absolute;
	top: 0;
	height: 3px;
	left: 7.625rem;
	right: 7.625rem;
	background: var(--rya-gold-deep);
	border-radius: 2px;
}

.rya-tree--family .rya-tree__gen--children[data-count="1"]::before {
	display: none;
}

.rya-tree__node {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 15.25rem;
}

.rya-tree__node--root {
	width: 17.25rem;
}

.rya-tree--pair .rya-family__head {
	margin-bottom: 0.7rem;
	padding-bottom: 0.65rem;
}

.rya-tree--pair .rya-family__title {
	font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.rya-tree--pair .rya-family__lead {
	font-size: 0.92rem;
	line-height: 1.5;
}

.rya-tree--pair .rya-tree__node {
	width: 13.15rem;
}

.rya-tree--pair .rya-tree__node--root {
	width: 14.35rem;
}

.rya-tree--pair.rya-tree--family .rya-tree__gen--children::before {
	left: 6.575rem;
	right: 6.575rem;
}

.rya-tree--family .rya-tree__gen--children .rya-tree__node {
	padding-top: 1.35rem;
}

.rya-tree--family .rya-tree__gen--children .rya-tree__node::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 3px;
	height: 1.35rem;
	background: var(--rya-gold-deep);
	border-radius: 2px;
	transform: translateX(-50%);
}

.rya-tree__role {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rya-gold-deep);
}

.rya-tree .rya-card,
.rya-tree.rya-family .rya-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
}

.rya-tree .rya-card__media {
	aspect-ratio: 1;
}

.rya-tree .rya-card__body {
	padding: 0.85rem 0.9rem 0.95rem;
	gap: 0.45rem;
}

.rya-tree .rya-card h3 {
	font-size: 1.15rem;
}

.rya-tree .rya-card__sum,
.rya-tree .rya-idfacts,
.rya-tree .rya-card .rya-chips,
.rya-tree .rya-card__notes {
	display: none;
}

.rya-tree .rya-card__price strong {
	font-size: 1.02rem;
}

.rya-tree-leaf {
	width: 100%;
	min-height: 12.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	padding: 1.15rem 1rem;
	border: 1.5px dashed rgba(138, 61, 28, 0.35);
	border-radius: 1.35rem;
	background:
		linear-gradient(180deg, #fff7ef 0%, #fff1e4 100%);
	text-align: center;
	box-sizing: border-box;
}

.rya-tree-leaf__kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rya-pregnant);
}

.rya-tree-leaf__title {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 900;
	color: #6a2c14;
}

.rya-tree-leaf__line {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--rya-ink);
}

.rya-tree-leaf__line a {
	display: inline-block;
	margin-left: 0.25rem;
	color: var(--rya-gold-deep);
	font-weight: 700;
}

.rya-tree__sire-links {
	margin: 1rem 0 0;
	text-align: center;
	color: var(--rya-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.rya-tree__sire-links a {
	color: var(--rya-ink);
	font-weight: 700;
	text-underline-offset: 0.15em;
}

.rya-tree--grove .rya-tree__gen--children {
	flex-wrap: wrap;
	padding-top: 0;
}

.rya-tree--sire .rya-tree__gen--root::after {
	display: none;
}

.rya-family--count-1 .rya-grid,
.rya-grid--count-1 {
	grid-template-columns: 1fr;
}

.rya-family--count-2 .rya-grid,
.rya-grid--count-2,
.rya-family--count-4 .rya-grid,
.rya-grid--count-4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rya-family--count-3 .rya-grid,
.rya-grid--count-3,
.rya-family--count-many .rya-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rya-family--count-1 .rya-card,
.rya-grid--count-1 .rya-card {
	display: grid;
	grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.2fr);
	align-items: stretch;
}

.rya-family--count-1 .rya-card__media,
.rya-grid--count-1 .rya-card__media {
	aspect-ratio: auto;
	min-height: 26rem;
	height: 100%;
}

.rya-family--count-1 .rya-card__media img,
.rya-grid--count-1 .rya-card__media img {
	height: 100%;
}

.rya-family--count-1 .rya-card__body,
.rya-grid--count-1 .rya-card__body {
	padding: 1.25rem 1.4rem 1.3rem;
	justify-content: flex-start;
	gap: 0.7rem;
}

.rya-family--count-1 .rya-card .lp-btn,
.rya-grid--count-1 .rya-card .lp-btn {
	margin-top: 0.15rem;
}

.rya-expecting {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem 1.05rem;
	border-radius: 1rem;
	border: 1px solid rgba(138, 61, 28, 0.22);
	background:
		linear-gradient(180deg, #fff7ef 0%, #fff1e4 100%);
}

.rya-expecting__kicker {
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rya-pregnant);
}

.rya-expecting__title {
	margin: 0 0 0.3rem;
	font-size: 1.2rem;
	font-weight: 900;
	color: #6a2c14;
}

.rya-expecting__line,
.rya-expecting__note {
	margin: 0;
	line-height: 1.55;
	color: var(--rya-ink);
}

.rya-expecting__line {
	font-weight: 700;
}

.rya-expecting__note {
	margin-top: 0.35rem;
	color: var(--rya-muted);
}

.rya-expecting a {
	color: inherit;
}

.rya-expecting--dana {
	border-color: rgba(197, 148, 42, 0.35);
	background:
		linear-gradient(180deg, #fffaf0 0%, #fff4dc 100%);
}

.rya-expecting--dana .rya-expecting__kicker,
.rya-expecting--dana .rya-expecting__title {
	color: var(--rya-gold-deep);
}

.rya-expecting--dana a {
	color: var(--rya-gold-deep);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.rya-dana__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 0.15rem;
}

.rya-facts__item--dana {
	background: #fff8ea;
	border-radius: 0.75rem;
	padding: 0.45rem 0.55rem;
}

.rya-idfacts__row.is-dana dd {
	color: var(--rya-gold-deep);
	font-weight: 700;
}

.rya-facts__item--pregnant,
.rya-facts__item--father,
.rya-facts__item--mother {
	background: #fff6ec;
	border-radius: 0.75rem;
	padding: 0.45rem 0.55rem;
}

.rya-profile-hero__media .rya-pill--pregnant {
	top: 1.05rem;
	right: 1.05rem;
	left: auto;
	z-index: 1;
}

.rya-card__kartas {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--rya-gold-deep);
}

.rya-card .rya-chips {
	margin-top: 0.15rem;
}

.rya-facts a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.rya-copy p {
	margin: 0 0 0.85rem;
}

.rya-copy p:last-child {
	margin-bottom: 0;
}

.rya-card__price {
	margin: 0;
	text-align: right;
	white-space: nowrap;
}

.rya-card__price strong {
	display: block;
	font-size: 1.15rem;
}

.rya-card__price span {
	font-size: 0.78rem;
	color: var(--rya-muted);
}

.rya-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
}

.rya-tags li {
	background: var(--rya-cream);
	border-radius: 999px;
	padding: 0.2rem 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
}

.rya-card .lp-btn {
	margin-top: auto;
	text-align: center;
}

.rya-empty {
	text-align: center;
	color: var(--rya-muted);
	margin: 1.5rem 0 0;
}

/* Shastra — spiritual fruit of adoption (mirrors cow-fodder impact card) */

.rya-shastra-section {
	padding-top: 1.25rem;
}

.rya-shastra-section--profile {
	padding-top: 0.4rem;
	padding-bottom: 2.6rem;
}

.rya-shastra {
	max-width: 54rem;
	margin: 0 auto;
	padding: 1.45rem 1.35rem 1.5rem;
	border: 1px solid var(--rya-line);
	border-radius: 1.25rem;
	background:
		radial-gradient(ellipse at 0% 0%, rgba(197, 148, 42, 0.16), transparent 48%),
		#fff;
	box-shadow: 0 16px 40px rgba(44, 24, 16, 0.06);
}

.rya-shastra__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.rya-shastra__top .rya-kicker {
	margin: 0;
}

.rya-shastra__source {
	margin: 0;
	color: var(--rya-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rya-shastra__quote {
	margin: 0.85rem 0 1.1rem;
	padding: 0.95rem 0 0;
	border: 0;
	border-top: 1px solid var(--rya-line);
}

.rya-shastra__sanskrit {
	margin: 0 0 0.45rem;
	font-family: "Noto Sans Devanagari", "Iowan Old Style", Georgia, serif;
	font-size: clamp(1.15rem, 3vw, 1.55rem);
	font-weight: 600;
	line-height: 1.5;
	color: #4a2010;
}

.rya-shastra__line {
	margin: 0;
	font-family: Lato, sans-serif;
	font-size: clamp(1.05rem, 2.4vw, 1.28rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1.45;
	color: var(--rya-ink);
}

.rya-shastra__body,
.rya-shastra__personal {
	margin: 0 0 0.95rem;
	color: var(--rya-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.rya-shastra__personal {
	color: var(--rya-ink);
	font-weight: 600;
}

.rya-shastra__benefits {
	list-style: none;
	margin: 0 0 1.15rem;
	padding: 0.1rem 0 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.rya-shastra__benefits li {
	display: grid;
	grid-template-columns: 2.15rem minmax(0, 1fr);
	gap: 0.7rem;
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--rya-line);
	border-radius: 0.95rem;
	background: rgba(255, 248, 236, 0.7);
}

.rya-shastra__icon {
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--rya-line);
	color: var(--rya-gold-deep);
}

.rya-shastra__benefits strong {
	display: block;
	margin: 0 0 0.2rem;
	font-size: 0.98rem;
	color: var(--rya-ink);
}

.rya-shastra__benefits p {
	margin: 0;
	color: var(--rya-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.rya-shastra__note {
	margin: 0 0 0.75rem;
	color: #8a7464;
	font-size: 0.82rem;
	line-height: 1.5;
}

.rya-shastra__more {
	margin: 0;
	font-weight: 800;
}

.rya-shastra__more a {
	color: var(--rya-gold-deep);
}

/* Still help */

.rya-still {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr);
	gap: 2rem;
	align-items: center;
}

.rya-still__card {
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 1.25rem;
	padding: 1.5rem 1.4rem;
	box-shadow: 0 12px 30px rgba(44, 24, 16, 0.05);
}

.rya-still__card p {
	margin: 0 0 0.75rem;
	font-weight: 700;
}

.rya-still__card p:last-child {
	margin-bottom: 0;
}

/* FAQ */

.rya-faq {
	max-width: 46rem;
	margin: 0 auto;
}

.rya-faq details {
	border-bottom: 1px solid var(--rya-line);
	padding: 0.85rem 0;
}

.rya-faq summary {
	cursor: pointer;
	font-weight: 800;
	list-style: none;
}

.rya-faq summary::-webkit-details-marker {
	display: none;
}

.rya-faq details p {
	margin: 0.7rem 0 0.2rem;
	color: var(--rya-muted);
	line-height: 1.7;
}

/* Profile */

.rya-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding-top: 1.15rem;
	padding-bottom: 0.4rem;
	font-size: 0.875rem;
	color: var(--rya-muted);
}

.rya-crumb a {
	color: var(--rya-ink);
	text-decoration: none;
}

.rya-profile-hero {
	display: grid;
	grid-template-columns: minmax(0, 34rem) minmax(20rem, 1fr);
	gap: clamp(1.75rem, 4vw, 3.75rem);
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.75rem 5% 2.6rem;
	background: transparent;
	border-bottom: none;
}

.rya-profile-hero__media {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: 34rem;
	aspect-ratio: 3 / 4;
	max-height: min(78vh, 740px);
	justify-self: start;
	border-radius: 1.85rem;
	overflow: hidden;
	background: #2a1a12;
	box-shadow:
		0 0 0 1px rgba(197, 148, 42, 0.12),
		0 28px 56px -26px rgba(44, 24, 16, 0.4),
		0 10px 22px -14px rgba(44, 24, 16, 0.2);
}

.rya-profile-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(20, 10, 6, 0.08) 0%, transparent 24%, transparent 62%, rgba(20, 10, 6, 0.42) 100%);
}

.rya-profile-hero__zoom {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	color: inherit;
}

.rya-profile-hero__media picture,
.rya-profile-hero__media img,
.rya-profile-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.rya-profile-hero__media[data-focus="south"] .rya-profile-hero__img {
	object-position: center 78%;
}

.rya-profile-hero__media .rya-pill,
.rya-profile-hero__place {
	pointer-events: none;
}

.rya-profile-hero__media .rya-pill {
	top: 1.05rem;
	left: 1.05rem;
	z-index: 1;
	box-shadow: 0 8px 18px rgba(20, 10, 6, 0.22);
}

.rya-profile-hero__place {
	position: absolute;
	left: 1.15rem;
	right: 1.15rem;
	bottom: 1.05rem;
	z-index: 1;
	margin: 0;
	color: #fff8ec;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-shadow: 0 1px 10px rgba(20, 10, 6, 0.5);
}

.rya-profile-hero__copy {
	padding: 0.35rem 0 0.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rya-profile-hero h1 {
	font-size: clamp(2.3rem, 4vw, 3.4rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	margin: 0 0 0.45em;
}

.rya-profile-hero__lead {
	margin: 0 0 1.25rem;
	color: var(--rya-muted);
}

.rya-facts {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1rem;
	margin: 0 0 1.4rem;
	padding: 0;
}

.rya-facts span {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rya-muted);
}

.rya-facts strong {
	font-size: 1.02rem;
}

.rya-facts small {
	display: block;
	margin-top: 0.12rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--rya-muted);
}

.rya-taken-note {
	margin: 0 0 1rem;
	color: var(--rya-muted);
}

.rya-profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.8fr);
	gap: 2.4rem;
	padding-top: 2.6rem;
	padding-bottom: 2rem;
	align-items: start;
}

.rya-block {
	margin-bottom: 2.6rem;
}

.rya-need {
	margin: 0;
	padding: 0.95rem 1rem;
	border-radius: 0.9rem;
	background: #fff6e3;
	color: var(--rya-ink);
	font-weight: 600;
}

.rya-need i {
	color: var(--rya-gold-deep);
	margin-right: 0.35rem;
}

.rya-timeline__list {
	position: relative;
	list-style: none;
	margin: 1.15rem 0 0;
	padding: 0.35rem 0 0.2rem;
	display: grid;
	gap: 1.15rem;
}

.rya-timeline__list::before {
	content: '';
	position: absolute;
	top: 0.55rem;
	bottom: 0.55rem;
	left: 1.85rem;
	width: 2px;
	background: #ead9b8;
}

.rya-timeline__beat {
	position: relative;
	display: grid;
	grid-template-columns: 3.7rem minmax(0, 1fr);
	align-items: start;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.rya-timeline__node {
	display: flex;
	justify-content: center;
	z-index: 1;
}

.rya-timeline__bubble {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 3.55rem;
	height: 3.55rem;
	min-width: 3.55rem;
	min-height: 3.55rem;
	padding: 0.28rem;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--rya-gold);
	box-shadow: 0 0 0 5px var(--rya-paper);
	color: var(--rya-gold-deep);
	text-align: center;
	line-height: 1.05;
}

.rya-timeline__beat--care .rya-timeline__bubble {
	border-color: #b45309;
}

.rya-timeline__beat--family .rya-timeline__bubble {
	border-color: var(--rya-female);
}

.rya-timeline__beat--orchard .rya-timeline__bubble {
	border-color: var(--rya-open);
}

.rya-timeline__beat--empty .rya-timeline__bubble {
	border-color: #c4b6a6;
	color: var(--rya-muted);
}

.rya-timeline__day {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0;
	color: var(--rya-ink);
	white-space: nowrap;
}

.rya-timeline__year {
	margin-top: 0.04rem;
	font-size: 0.62rem;
	font-weight: 700;
	color: var(--rya-gold-deep);
}

.rya-timeline__card {
	position: relative;
	margin: 0;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 0.95rem;
}

.rya-timeline__beat.is-latest .rya-timeline__card {
	border-color: #e4c98a;
	box-shadow: 0 8px 22px rgba(80, 48, 16, 0.05);
}

.rya-timeline__latest {
	margin: 0 0 0.35rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rya-gold-deep);
}

.rya-timeline__kind {
	margin: 0 0 0.15rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rya-muted);
}

.rya-timeline__beat--care .rya-timeline__kind {
	color: #9a3412;
}

.rya-timeline__card h3 {
	margin: 0 0 0.2rem;
	font-size: 1.12rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.rya-timeline__when {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--rya-gold-deep);
}

.rya-timeline__card p {
	margin: 0;
	color: var(--rya-muted);
	line-height: 1.55;
}

.rya-year {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.15rem 0 1.25rem;
}

.rya-year > div {
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 0.95rem;
	padding: 0.85rem 0.9rem;
}

.rya-year strong {
	display: block;
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--rya-ink);
}

.rya-year span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	color: var(--rya-muted);
	line-height: 1.4;
}

.rya-cover__note {
	margin: 0.85rem 0 0;
	color: var(--rya-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.rya-cover__bar {
	display: flex;
	height: 0.7rem;
	border-radius: 999px;
	overflow: hidden;
	background: #ddd2c6;
	margin: 1rem 0 0.85rem;
}

.rya-cover__fodder {
	background: var(--rya-gold);
}

.rya-cover__legend {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rya-cover__legend li {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	margin-bottom: 0.4rem;
	color: var(--rya-muted);
}

.rya-dot {
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 50%;
	margin-top: 0.35rem;
	flex: 0 0 auto;
}

.rya-dot--gold {
	background: var(--rya-gold);
}

.rya-dot--ink {
	background: #8a7464;
}

.rya-rhythm {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rya-rhythm li {
	display: grid;
	grid-template-columns: 2.6rem minmax(0, 1fr);
	gap: 0.9rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--rya-line);
}

.rya-rhythm__icon {
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--rya-line);
	color: var(--rya-gold-deep);
}

.rya-rhythm__time {
	margin: 0 0 0.15rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rya-gold);
}

.rya-rhythm h3 {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
}

.rya-rhythm p {
	margin: 0;
	color: var(--rya-muted);
	line-height: 1.6;
}

.rya-journal-section {
	padding: 0.4rem 0 3.4rem;
}

.rya-journal-section .rya-heading {
	margin-bottom: 0;
}

.rya-journal {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.rya-journal--single {
	grid-template-columns: minmax(0, 36rem);
}

.rya-journal--grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rya-journal__item {
	margin: 0;
	min-width: 0;
}

.rya-journal__btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #2a1a12;
	border-radius: 1rem;
	overflow: hidden;
	cursor: zoom-in;
	color: inherit;
	box-shadow: 0 12px 28px -20px rgba(44, 24, 16, 0.45);
}

.rya-journal picture,
.rya-journal__img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center 40%;
	transition: transform 0.45s ease;
}

.rya-journal__btn:focus-visible .rya-journal__img {
	transform: scale(1.04);
}

@media (hover: hover) and (pointer: fine) {
	.rya-journal__btn:hover .rya-journal__img {
		transform: scale(1.04);
	}
}

.rya-journal__zoom {
	position: absolute;
	right: 0.7rem;
	top: 0.7rem;
	z-index: 1;
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(20, 10, 6, 0.55);
	color: #fff8ec;
	font-size: 0.72rem;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.rya-journal__btn:focus-visible .rya-journal__zoom {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.rya-journal__btn:hover .rya-journal__zoom {
		opacity: 1;
	}
}

.rya-journal__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 1.7rem 0.85rem 0.75rem;
	background: linear-gradient(180deg, transparent, rgba(20, 10, 6, 0.72));
	color: #fff8ec;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

.rya-journal__hint {
	margin: 0.85rem 0 0;
	font-size: 0.85rem;
	color: var(--rya-muted);
}

.rya-lb {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4.5rem 4.5rem 1.5rem;
}

.rya-lb[hidden] {
	display: none;
}

.rya-lb__scrim {
	position: absolute;
	inset: 0;
	background: rgba(16, 10, 6, 0.88);
}

.rya-lb__dialog {
	position: relative;
	z-index: 1;
	max-width: min(1100px, 100%);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rya-lb__img {
	max-width: 100%;
	max-height: min(78vh, 900px);
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	background: #1a120c;
}

.rya-lb__cap,
.rya-lb__count {
	margin: 0.7rem 0 0;
	color: #f6efe3;
	text-align: center;
	max-width: 42rem;
	font-size: 0.95rem;
	line-height: 1.5;
}

.rya-lb__count {
	margin-top: 0.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(246, 239, 227, 0.7);
}

.rya-lb__close,
.rya-lb__nav {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 248, 236, 0.28);
	background: #2c1810;
	color: #fff8ee;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	line-height: 1;
}

.rya-lb__close i,
.rya-lb__nav i {
	font-size: 1.15rem;
	line-height: 1;
	width: 1em;
	height: 1em;
	display: block;
	text-align: center;
}

.rya-lb__close {
	top: max(1.25rem, env(safe-area-inset-top));
	right: max(1.25rem, env(safe-area-inset-right));
}

.rya-lb__nav {
	top: 50%;
	transform: translateY(-50%);
}

.rya-lb__prev {
	left: max(0.85rem, env(safe-area-inset-left));
}

.rya-lb__next {
	right: max(0.85rem, env(safe-area-inset-right));
}

.rya-lb__close:hover,
.rya-lb__nav:hover,
.rya-lb__close:focus-visible,
.rya-lb__nav:focus-visible {
	background: var(--rya-gold);
	border-color: var(--rya-gold);
	color: #fff;
}

.rya-lb__nav[hidden] {
	display: none;
}

body.rya-lb-open {
	overflow: hidden;
	overscroll-behavior: none;
}

body.rya-lb-open .scroll-to-top,
body.rya-lb-open .rya-dock {
	display: none !important;
}

/* Adopt card */

.rya-adopt {
	position: sticky;
	top: 5.5rem;
}

.rya-adopt__card {
	background: #fff;
	border: 1px solid var(--rya-line);
	border-radius: 1.4rem;
	padding: 1.4rem 1.3rem 1.5rem;
	box-shadow: 0 18px 40px rgba(44, 24, 16, 0.07);
}

.rya-adopt__card h2 {
	margin: 0 0 0.4rem;
	font-size: 1.55rem;
}

.rya-adopt__lead {
	margin: 0 0 1.1rem;
	color: var(--rya-muted);
	line-height: 1.55;
}

.rya-plans {
	display: grid;
	gap: 0.65rem;
	margin-bottom: 0.85rem;
}

.rya-plan {
	appearance: none;
	text-align: left;
	border: 1px solid var(--rya-line);
	background: var(--rya-paper);
	border-radius: 1rem;
	padding: 0.85rem 0.95rem;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.rya-plan.is-selected {
	border-color: var(--rya-gold);
	background: #fff8ea;
	box-shadow: 0 0 0 1px var(--rya-gold);
}

.rya-plan em {
	display: block;
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rya-gold-deep);
}

.rya-plan strong {
	display: block;
	margin: 0.15rem 0;
	font-size: 1.2rem;
}

.rya-plan strong span,
.rya-plan small {
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--rya-muted);
}

.rya-impact {
	margin: 0 0 1rem;
	padding: 0.75rem 0.85rem;
	border-radius: 0.8rem;
	background: #fff6e3;
	font-size: 0.92rem;
	color: var(--rya-ink);
	line-height: 1.5;
}

.rya-field {
	display: block;
	margin-bottom: 0.75rem;
}

.rya-field span {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.82rem;
	font-weight: 700;
}

.rya-field input {
	width: 100%;
	border: 1px solid var(--rya-line);
	border-radius: 0.7rem;
	padding: 0.7rem 0.8rem;
	font: inherit;
	background: #fff;
}

.rya-adopt .ms-public-ack {
	margin: 0.15rem 0 1.05rem;
	padding-top: 0.95rem;
}

.rya-error {
	color: #8b1a1a;
	font-weight: 700;
	margin: 0 0 0.75rem;
}

.rya-submit {
	width: 100%;
	text-align: center;
}

.rya-adopt .lp-btn + .lp-btn {
	display: block;
	text-align: center;
	margin-top: 0.7rem;
}

.rya-fine {
	margin: 0.75rem 0 0;
	font-size: 0.78rem;
	color: var(--rya-muted);
	text-align: center;
}

.rya-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
	background: rgba(250, 247, 242, 0.96);
	border-top: 1px solid var(--rya-line);
	backdrop-filter: blur(10px);
}

.rya-dock p {
	margin: 0;
}

.rya-dock span {
	display: block;
	color: var(--rya-muted);
	font-size: 0.85rem;
}

.rya-status {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	place-items: center;
	background: rgba(20, 10, 6, 0.55);
	padding: 1.25rem;
}

.rya-status:not([hidden]) {
	display: grid;
}

.rya-dock[hidden],
.rya-status[hidden],
.rya-error[hidden],
.rya-empty[hidden],
.rya-families[hidden],
.rya-grid--filtered[hidden],
.rya-herd-loader[hidden] {
	display: none !important;
}

.rya-status__title {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	font-weight: 800;
}

.rya-status__copy {
	margin: 0;
	color: var(--rya-muted);
}

.rya-status__card {
	max-width: 28rem;
	width: min(100%, 28rem);
	background: #fff;
	border-radius: 1.2rem;
	padding: 1.6rem 1.4rem 1.35rem;
	text-align: center;
	position: relative;
}

.rya-status__share {
	margin-top: 1.2rem;
	padding-top: 1.05rem;
	border-top: 1px solid var(--rya-line);
	text-align: center;
}

.rya-status__share-title {
	margin: 0 0 0.35rem;
	font-weight: 800;
	font-size: 1.08rem;
	letter-spacing: -0.02em;
}

.rya-status__preview {
	margin: 0.75rem auto 0.95rem;
	max-width: 100%;
	border-radius: 0.85rem;
	overflow: hidden;
	border: 1px solid var(--rya-line);
	box-shadow: 0 8px 20px rgba(44, 24, 16, 0.08);
}

.rya-status__preview img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	border: 0;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
}

.rya-status__preview--pride {
	max-width: 16rem;
	margin-left: auto;
	margin-right: auto;
}

.rya-status__preview--pride img {
	aspect-ratio: 1080 / 1350;
	object-fit: contain;
	background: #fffdf9;
}

.rya-status__actions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
}

.rya-status__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.55rem;
	padding: 0.5rem 0.75rem;
	border-radius: 0.85rem;
	border: 1px solid var(--rya-line);
	background: var(--rya-paper);
	color: var(--rya-ink);
	font: inherit;
	font-weight: 700;
	font-size: 0.86rem;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.rya-status__action:focus-visible {
	border-color: #d4b98a;
}

@media (hover: hover) and (pointer: fine) {
	.rya-status__action:hover,
	.rya-status__action:focus-visible {
		transform: translateY(-1px);
		border-color: #d4b98a;
	}
}

.rya-status__action.is-disabled,
.rya-status__action[aria-disabled="true"] {
	opacity: 0.45;
	pointer-events: none;
	transform: none;
}

.rya-status__action--fb { color: #1877f2; }
.rya-status__action--ig { color: #c13584; }
.rya-status__action--li { color: #0a66c2; }
.rya-status__action--wa { color: #128c7e; }

@media (min-width: 420px) {
	.rya-status__actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rya-status__hint,
.rya-status__email {
	margin: 0.7rem 0 0;
	font-size: 0.85rem;
	color: var(--rya-muted);
}

.rya-status__caption {
	display: block;
	width: 100%;
	margin-top: 0.65rem;
	padding: 0.6rem;
	border: 1px solid var(--rya-line);
	border-radius: 0.65rem;
	font: inherit;
	font-size: 0.82rem;
	resize: vertical;
}

.rya-status__open {
	margin: 0.85rem 0 0;
}

.rya-status__open a {
	font-weight: 700;
	color: var(--rya-gold-deep);
}

.rya-status__close {
	margin-top: 1rem;
	background: transparent;
	border: 0;
	color: var(--rya-muted);
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

/* Buttons — inherit landing system, with fallbacks */

.rya .lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.8rem 1.25rem;
	font-weight: 800;
	border: 1px solid transparent;
}

.rya .lp-btn--lg {
	padding: 0.95rem 1.5rem;
}

.rya .lp-btn--gold {
	background: var(--rya-gold);
	color: #fff;
}

.rya .lp-btn--outline,
.rya .lp-btn--outline-light {
	background: transparent;
	border-color: currentColor;
}

.rya .lp-btn--outline {
	color: var(--rya-ink);
}

.rya .lp-btn--outline-light {
	color: #fff8ec;
	border-color: rgba(255, 248, 236, 0.55);
}

@media (max-width: 980px) {
	.rya-stats__grid,
	.rya-steps,
	.rya-grid,
	.rya-still,
	.rya-profile-hero,
	.rya-profile-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rya-still,
	.rya-profile-hero,
	.rya-profile-grid {
		grid-template-columns: 1fr;
	}

	.rya-profile-hero {
		gap: 1.6rem;
		padding: 0.35rem 5% 1.75rem;
	}

	.rya-profile-hero__media {
		max-width: none;
		justify-self: stretch;
		aspect-ratio: 4 / 5;
		max-height: min(70vh, 560px);
		border-radius: 1.35rem;
	}

	.rya-adopt {
		position: static;
	}

	.rya-journal--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rya-lb {
		padding: 4rem 3.5rem 1.25rem;
	}

	.rya-lb__close,
	.rya-lb__nav {
		width: 44px;
		height: 44px;
	}

	.rya-family--count-1 .rya-grid,
	.rya-grid--count-1 {
		grid-template-columns: 1fr;
	}

	.rya-family--count-1 .rya-card,
	.rya-grid--count-1 .rya-card {
		grid-template-columns: minmax(14rem, 0.88fr) minmax(16rem, 1.2fr);
	}

	.rya-family--count-2 .rya-grid,
	.rya-grid--count-2,
	.rya-family--count-4 .rya-grid,
	.rya-grid--count-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rya-family--count-3 .rya-grid,
	.rya-grid--count-3,
	.rya-family--count-many .rya-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rya-grid.rya-grid--filtered {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.rya-family--count-1 .rya-card,
	.rya-grid--count-1 .rya-card {
		grid-template-columns: 1fr;
	}

	.rya-family--count-1 .rya-card__media,
	.rya-grid--count-1 .rya-card__media {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}
}

@media (max-width: 1040px) {
	.rya-families {
		grid-template-columns: 1fr;
	}

	.rya-tree--pair .rya-tree__node {
		width: 15.25rem;
	}

	.rya-tree--pair .rya-tree__node--root {
		width: 17.25rem;
	}

	.rya-tree--pair.rya-tree--family .rya-tree__gen--children::before {
		left: 7.625rem;
		right: 7.625rem;
	}
}

@media (max-width: 720px) {
	.rya-tree__canvas {
		overflow: visible;
		align-items: stretch;
	}

	.rya-tree__gen--root,
	.rya-tree__gen--children {
		display: block;
		width: 100%;
	}

	.rya-tree__node,
	.rya-tree__node--root {
		width: min(100%, 22rem);
		margin-left: auto;
		margin-right: auto;
	}

	.rya-tree--family .rya-tree__gen--root {
		margin-bottom: 0.35rem;
	}

	.rya-tree--family .rya-tree__gen--root::after,
	.rya-tree--family .rya-tree__gen--children::before,
	.rya-tree--family .rya-tree__gen--children .rya-tree__node::before {
		display: none;
	}

	.rya-tree--family .rya-tree__gen--children {
		padding-top: 0.35rem;
		padding-left: 1.05rem;
		margin-left: 1.15rem;
		border-left: 3px solid var(--rya-gold-deep);
	}

	.rya-tree--family .rya-tree__gen--children .rya-tree__node {
		padding-top: 0;
		margin-bottom: 1rem;
	}

	.rya-tree--family .rya-tree__gen--children .rya-tree__node::after {
		content: "";
		position: absolute;
		top: 1.15rem;
		left: -1.05rem;
		width: 1.05rem;
		height: 3px;
		background: var(--rya-gold-deep);
	}

	.rya-filters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 0.1rem;
	}

	.rya-filters::-webkit-scrollbar {
		display: none;
	}

	.rya-filters button {
		flex: 0 0 auto;
	}
}

@media (max-width: 680px) {
	.rya-stats__grid,
	.rya-steps,
	.rya-grid,
	.rya-family--count-2 .rya-grid,
	.rya-family--count-3 .rya-grid,
	.rya-family--count-4 .rya-grid,
	.rya-family--count-many .rya-grid,
	.rya-grid--count-2,
	.rya-grid--count-3,
	.rya-grid--count-4,
	.rya-journal,
	.rya-journal--pair,
	.rya-journal--grid,
	.rya-facts,
	.rya-year,
	.rya-shastra__benefits {
		grid-template-columns: 1fr;
	}

	.rya-grid.rya-grid--filtered {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.rya-grid--filtered .rya-card__body {
		padding: 0.75rem 0.7rem 0.85rem;
		gap: 0.45rem;
	}

	.rya-grid--filtered .rya-card h3 {
		font-size: 1.02rem;
	}

	.rya-grid--filtered .rya-card__top {
		flex-direction: column;
		gap: 0.2rem;
	}

	.rya-grid--filtered .rya-card__price {
		text-align: left;
	}

	.rya-grid--filtered .rya-card__price strong {
		font-size: 1rem;
	}

	.rya-grid--filtered .rya-card__sum,
	.rya-grid--filtered .rya-facts,
	.rya-grid--filtered .rya-chips,
	.rya-grid--filtered .rya-idfacts {
		display: none;
	}

	.rya-grid--filtered .rya-card__notes li {
		padding: 0.42rem 0.5rem;
		font-size: 0.78rem;
	}

	.rya-grid--filtered .rya-pill--open,
	.rya-grid--filtered .rya-pill--walked,
	.rya-grid--filtered .rya-pill--taken {
		display: none;
	}

	.rya-grid--filtered .rya-pill--pregnant {
		left: 0.55rem;
		right: auto;
		font-size: 0.62rem;
		padding: 0.2rem 0.45rem;
	}

	.rya-grid--filtered .rya-card .lp-btn {
		padding: 0.55rem 0.6rem;
		font-size: 0.82rem;
	}

	.rya-journal__zoom {
		opacity: 1;
	}

	.rya-hero {
		min-height: 88vh;
	}

	.rya-hero h1 {
		max-width: none;
		font-size: clamp(1.7rem, 8.5vw, 2.15rem);
	}

	body.rya-page--profile .rya-dock {
		display: flex;
	}

	body.rya-page--profile {
		padding-bottom: 4.8rem;
	}

	body.rya-page--profile:has(.rya-dock:not([hidden])) .scroll-to-top {
		bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
	}
}
