/*
Theme Name: Astra Child
Description: Astra Child Theme for AskPawPaw.com
Author: Lindell Gomez
Template: astra
Version: 1.0.0
*/


/* Add your custom styles here */

/* $250 project: live Google Sheets budget and expense displays. */
.pawpaw-project {
	--pawpaw-ink: #214d5c;
	--pawpaw-gold: #f6b918;
	--pawpaw-paper: #f7f3ea;
	--pawpaw-line: #e3d5b9;
	margin: 0;
	color: var(--pawpaw-ink);
	font-family: "Poppins", sans-serif;
}

.pawpaw-project p {
	margin-top: 0;
}

.pawpaw-project .pawpaw-label {
	margin-bottom: 0.5rem;
	color: #a16c00;
	font-family: "Roboto", sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pawpaw-project .pawpaw-total {
	margin: 0;
	color: var(--pawpaw-ink);
	font-family: "Roboto", sans-serif;
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.95;
	overflow-wrap: anywhere;
}

.pawpaw-project .pawpaw-scoreboard {
	padding: 2.5rem;
	background: #fff;
	border: 1px solid var(--pawpaw-line);
	border-radius: 1.125rem;
	box-shadow: 0 18px 44px -36px rgba(33, 77, 92, 0.9);
}

.pawpaw-project .pawpaw-scoreboard-title {
	margin: 0 0 2rem;
	font-size: clamp(2rem, 4vw, 2.75rem);
}

.pawpaw-project .pawpaw-scoreboard-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: 3rem;
	align-items: center;
}

.pawpaw-project .pawpaw-scoreboard-spent {
	min-width: 0;
	padding-right: 3rem;
	border-right: 1px solid var(--pawpaw-line);
}

.pawpaw-project .pawpaw-scoreboard-metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem 2rem;
	margin: 0;
}

.pawpaw-project .pawpaw-scoreboard-metric {
	min-width: 0;
}

.pawpaw-project .pawpaw-scoreboard-metrics dt {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.025em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pawpaw-project .pawpaw-scoreboard-metrics dd {
	margin: 0.4rem 0 0;
	font-family: "Roboto", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.pawpaw-project .pawpaw-progress-labels {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}

.pawpaw-project .pawpaw-progress-labels span:last-child {
	text-align: right;
}

.pawpaw-project .pawpaw-progress {
	height: 1rem;
	margin-top: 0.625rem;
	overflow: hidden;
	background: #eadfc6;
	border-radius: 999px;
}

.pawpaw-project .pawpaw-progress-fill {
	display: block;
	width: var(--pawpaw-progress, 0%);
	min-width: 0.25rem;
	height: 100%;
	background: var(--pawpaw-gold);
	border-radius: inherit;
	transition: width 300ms ease;
}

.pawpaw-project .pawpaw-status {
	margin: 1.25rem 0 0;
	color: #466773;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.pawpaw-project h2 {
	margin: 0 0 1.5rem;
	color: var(--pawpaw-ink);
	font-family: "Roboto", sans-serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
}

.pawpaw-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--pawpaw-line);
	border-radius: 1rem;
	background: #fff;
}

.pawpaw-project table {
	width: 100%;
	min-width: 850px;
	margin: 0;
	border-collapse: collapse;
}

.pawpaw-project th,
.pawpaw-project td {
	padding: 0.875rem 1rem;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--pawpaw-line);
}

.pawpaw-project thead th {
	background: var(--pawpaw-ink);
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pawpaw-project th:nth-child(n + 4),
.pawpaw-project td:nth-child(n + 4) {
	text-align: right;
	white-space: nowrap;
}

.pawpaw-project td:first-child {
	white-space: nowrap;
}

.pawpaw-project tbody:last-child tr:last-child td {
	border-bottom: 0;
}

.pawpaw-project .pawpaw-week th {
	padding: 1rem;
	background: #f2e8cf;
	color: var(--pawpaw-ink);
	border-top: 2px solid var(--pawpaw-gold);
	border-bottom: 1px solid var(--pawpaw-line);
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	overflow-wrap: anywhere;
	text-align: left;
	white-space: normal;
}

.pawpaw-project .pawpaw-item {
	min-width: 13rem;
}

.pawpaw-project .pawpaw-item strong {
	display: block;
	color: var(--pawpaw-ink);
	font-weight: 600;
}

.pawpaw-project .pawpaw-item-note {
	display: block;
	margin-top: 0.3rem;
	color: #5a7078;
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pawpaw-project .pawpaw-budget-badge {
	display: inline-flex;
	margin-top: 0.5rem;
	padding: 0.2rem 0.55rem;
	background: #f2e8cf;
	border-radius: 999px;
	color: #7a5600;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	line-height: 1.35;
	text-transform: uppercase;
}

.pawpaw-project .pawpaw-outside-budget td {
	background: #fcfaf5;
}

.pawpaw-project .pawpaw-money {
	font-variant-numeric: tabular-nums;
}

.pawpaw-project .pawpaw-actual {
	color: var(--pawpaw-ink);
	font-weight: 700;
}

.pawpaw-project .pawpaw-savings {
	color: #317143;
	font-weight: 600;
}

.pawpaw-project .pawpaw-ledger-totals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.25rem 0 0;
}

.pawpaw-project .pawpaw-ledger-total {
	min-width: 0;
	padding: 1.35rem 1.5rem;
	background: #fff;
	border: 1px solid var(--pawpaw-line);
	border-radius: 0.875rem;
}

.pawpaw-project .pawpaw-ledger-total dt {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pawpaw-project .pawpaw-ledger-total dd {
	margin: 0.45rem 0 0;
	font-family: "Roboto", sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	font-weight: 700;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.pawpaw-project .pawpaw-ledger-total--primary {
	background: var(--pawpaw-ink);
	border-color: var(--pawpaw-ink);
	color: #fff;
}

.pawpaw-project .pawpaw-empty {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--pawpaw-line);
	border-radius: 0.875rem;
}

@media (max-width: 921px) {
	.pawpaw-project .pawpaw-scoreboard-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.pawpaw-project .pawpaw-scoreboard-spent {
		padding: 0 0 2rem;
		border-right: 0;
		border-bottom: 1px solid var(--pawpaw-line);
	}
}

@media (max-width: 544px) {
	.pawpaw-project .pawpaw-scoreboard {
		padding: 1.5rem;
	}

	.pawpaw-project .pawpaw-scoreboard-title {
		margin-bottom: 1.5rem;
	}

	.pawpaw-project .pawpaw-total {
		font-size: clamp(2.75rem, 16vw, 4rem);
	}

	.pawpaw-project .pawpaw-scoreboard-metrics {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.pawpaw-project .pawpaw-scoreboard-metrics dd {
		font-size: 1.35rem;
	}

	.pawpaw-project .pawpaw-progress-labels {
		align-items: flex-end;
		margin-top: 2rem;
	}

	.pawpaw-project .pawpaw-ledger-totals {
		grid-template-columns: 1fr;
	}

	.pawpaw-project th,
	.pawpaw-project td {
		padding: 0.75rem;
	}
}

/* $250 project: shared Elementor gallery source and shortcode displays. */
.askpawpaw-gallery-source {
	display: none !important;
}

body.elementor-editor-active .askpawpaw-gallery-source {
	display: block !important;
}

.askpawpaw-auto-gallery {
	--askpawpaw-gallery-gap: 0.875rem;
	font-family: "Poppins", sans-serif;
}

.askpawpaw-auto-gallery a {
	display: block;
	overflow: hidden;
	border-radius: 0.75rem;
}

.askpawpaw-auto-gallery img {
	display: block;
	width: 100%;
	object-fit: cover;
	transition: opacity 180ms ease, transform 180ms ease;
}

.askpawpaw-auto-gallery a:hover img,
.askpawpaw-auto-gallery a:focus-visible img {
	opacity: 0.9;
	transform: scale(1.015);
}

.askpawpaw-auto-gallery--featured {
	display: grid;
	grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
	gap: 1.125rem;
}

.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured,
.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured img {
	height: 35.625rem;
	border-radius: 1.125rem;
}

.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured img {
	object-position: center;
}

.askpawpaw-auto-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--askpawpaw-gallery-gap);
}

.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--thumb,
.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--thumb img {
	height: 11.125rem;
}

.askpawpaw-auto-gallery--all {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.askpawpaw-auto-gallery--all .askpawpaw-gallery-photo--grid,
.askpawpaw-auto-gallery--all .askpawpaw-gallery-photo--grid img {
	height: 17rem;
}

.askpawpaw-gallery-actions {
	margin: 2rem 0 0;
	text-align: center;
}

.askpawpaw-gallery-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.75rem 1.5rem;
	background: #f6b918;
	color: #214d5c;
	border: 2px solid #f6b918;
	border-radius: 999px;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.askpawpaw-gallery-button:hover,
.askpawpaw-gallery-button:focus-visible {
	background: #fff;
	color: #214d5c;
}

.askpawpaw-gallery-empty {
	margin: 0;
	padding: 1rem;
	background: #fff;
	color: #214d5c;
	border: 1px solid #e3d5b9;
	border-radius: 0.75rem;
}

@media (max-width: 921px) {
	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured,
	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured img {
		height: 30rem;
	}

	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--thumb,
	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--thumb img {
		height: 9.25rem;
	}

	.askpawpaw-auto-gallery--all {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.askpawpaw-auto-gallery--featured {
		grid-template-columns: 1fr;
		gap: var(--askpawpaw-gallery-gap);
	}

	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured,
	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--featured img {
		height: 16.25rem;
	}

	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--thumb,
	.askpawpaw-auto-gallery--featured .askpawpaw-gallery-photo--thumb img {
		height: 8.25rem;
	}

	.askpawpaw-auto-gallery--all {
		gap: 0.75rem;
	}

	.askpawpaw-auto-gallery--all .askpawpaw-gallery-photo--grid,
	.askpawpaw-auto-gallery--all .askpawpaw-gallery-photo--grid img {
		height: 10rem;
	}
}
