/* Scalona warstwa prezentacji snippetów 33–38. */
.aah-own-dogs-grid {
	align-items: stretch !important;
}

.aah-own-dog-card,
.aah-own-dog-card .aa-dog-content {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}

.aah-own-dog-card .aa-dog-content,
.aah-own-card-data {
	flex: 1 1 auto !important;
}

.aah-own-dog-card .aa-dog-photo-link {
	display: block !important;
	flex: 0 0 auto !important;
}

.aah-own-dog-card .aa-dog-button {
	align-self: center !important;
	margin-top: auto !important;
}

.aah-dogs-section-title {
	position: relative;
	max-width: 1180px;
	margin: 46px auto 24px;
	padding: 22px 20px 10px;
	text-align: center;
	overflow: hidden;
}

.aah-dogs-section-letter {
	position: absolute;
	z-index: 1;
	top: -4px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(85, 96, 70, .12);
	font-family: "Allura", cursive;
	font-size: 124px;
	line-height: 1;
	pointer-events: none;
}

.aah-dogs-section-title h2,
.aah-dogs-section-title p {
	position: relative;
	z-index: 2;
}

.aah-dogs-section-title h2 {
	margin: 0;
	color: #183d38;
	font-size: 42px;
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.aah-dogs-section-title p {
	max-width: 680px;
	margin: 10px auto 0;
	color: #556046;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.aak-own-dogs-profile-view #zlotka-heading,
.aak-own-dogs-profile-view .aa-section-heading,
.aak-own-dogs-profile-view .aah-dogs-section-title,
.aak-own-dogs-profile-view [data-scribble="NZ"] {
	display: none !important;
}

.aah-own-profile,
.aah-own-profile *,
.aa-dog-profile,
.aa-dog-profile * {
	font-family: inherit !important;
}

.aah-profile-main-heading {
	position: relative !important;
	isolation: isolate !important;
	margin: 0 0 28px !important;
	padding-top: 64px !important;
	overflow: visible !important;
	text-align: center !important;
}

.aah-profile-main-letter {
	position: absolute !important;
	z-index: -1 !important;
	top: 8px !important;
	left: 50% !important;
	transform: translateX(-50%) rotate(-8deg) !important;
	color: rgba(146, 169, 156, .24) !important;
	font-family: "Allura", cursive !important;
	font-size: 132px !important;
	line-height: 1 !important;
	pointer-events: none !important;
}

.aah-profile-main-heading h1 {
	margin: 0 !important;
	color: #183d38 !important;
	font-size: 46px !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	letter-spacing: .055em !important;
	text-transform: uppercase !important;
}

.aah-profile-main-heading p {
	margin: 10px 0 0 !important;
	color: #556046 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

.aah-profile-section-toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	text-align: left !important;
}

.aah-profile-section-toggle span {
	flex: 1 1 auto !important;
	color: #183d38 !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: .045em !important;
	text-align: left !important;
	text-transform: uppercase !important;
}

.aah-own-profile .aa-data-label,
.aa-dog-profile .aa-data-label,
.aah-profile-section-panel dt,
.aah-profile-section-panel label,
.aah-own-profile .aa-data-value,
.aa-dog-profile .aa-data-value,
.aah-profile-section-panel dd,
.aah-profile-section-panel strong {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
}

.aah-profile-weight-inline,
.aah-profile-weight-badge {
	display: inline-flex !important;
	align-items: center !important;
}

.aah-profile-weight-inline {
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.aah-profile-weight-badge {
	justify-content: center !important;
	padding: 4px 10px !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	white-space: nowrap !important;
}

.aah-profile-weight-badge-up { color: #2f6b3d !important; background: rgba(70, 109, 76, .12) !important; }
.aah-profile-weight-badge-down { color: #8b3e3e !important; background: rgba(139, 62, 62, .12) !important; }
.aah-profile-weight-badge-same { color: #556046 !important; background: rgba(85, 96, 70, .11) !important; }
.aah-profile-weight-diff-row-hidden { display: none !important; }

@media (max-width: 900px) {
	.aah-own-dogs-wrapper { max-width: 100% !important; padding: 0 10px !important; }
	html body .aah-own-dogs-grid,
	html body .aa-dogs-grid.aah-own-dogs-grid,
	html body .aah-own-dogs-wrapper .aah-own-dogs-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-auto-flow: row !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		gap: 14px !important;
		margin: 22px auto !important;
	}
	.aah-own-dogs-grid > *,
	.aah-own-dog-card {
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	.aah-own-dog-card { margin: 0 !important; border-radius: 14px !important; overflow: hidden !important; }
	.aah-own-dog-card .aa-dog-photo-link img { display: block !important; width: 100% !important; height: 150px !important; object-fit: cover !important; }
	.aah-own-dog-card .aa-dog-content { min-height: 0 !important; padding: 12px 10px 14px !important; }
	.aah-own-dog-card .aa-dog-home-name { margin: 0 0 10px !important; font-size: 20px !important; line-height: 1.1 !important; text-align: center !important; }
	.aah-own-card-data { margin-bottom: 12px !important; }
	.aah-own-card-data p { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 3px !important; padding: 6px 0 !important; font-size: 11px !important; line-height: 1.25 !important; text-align: center !important; }
	.aah-own-card-data span, .aah-own-card-data strong { width: 100% !important; max-width: 100% !important; font-size: 11px !important; text-align: center !important; }
	.aah-own-card-data span { font-size: 10px !important; opacity: .9 !important; }
	.aah-own-dog-card .aa-dog-button { width: 100% !important; max-width: 100% !important; padding: 9px 8px !important; box-sizing: border-box !important; border-radius: 10px !important; font-size: 10px !important; }
	.aah-own-profile .aa-dog-profile-box { padding: 24px 18px !important; border-radius: 22px !important; }
	.aah-own-profile .aa-dog-data-group p { display: grid !important; grid-template-columns: 42% 58% !important; gap: 10px !important; padding: 8px 0 !important; }
}

@media (max-width: 480px) {
	.aah-own-dogs-wrapper .aah-own-dogs-grid { gap: 10px !important; margin: 18px auto !important; }
	.aah-own-dog-card .aa-dog-photo-link img { height: 128px !important; }
	.aah-own-dog-card .aa-dog-home-name { font-size: 17px !important; }
	.aah-dogs-section-title { margin: 28px auto 14px; }
	.aah-dogs-section-letter { top: -2px; font-size: 84px; }
	.aah-dogs-section-title h2 { font-size: 26px; }
	.aah-own-profile .aa-dog-profile-box { padding: 22px 16px !important; border-radius: 20px !important; }
	.aah-profile-main-heading h1 { font-size: 30px !important; }
	.aah-profile-weight-badge { padding: 3px 7px !important; font-size: 11px !important; }
}

@media (max-width: 360px) {
	.aah-own-dogs-wrapper .aah-own-dogs-grid { gap: 8px !important; }
	.aah-own-dog-card .aa-dog-photo-link img { height: 112px !important; }
	.aah-own-dog-card .aa-dog-home-name { font-size: 15px !important; }
}
