/* National Parks Guide live weather card v1.1.4 */
.npg-weather-card,
.npg-weather-card * {
	box-sizing: border-box;
}

.npg-weather-card {
	--npg-wx-ink: #17241d;
	--npg-wx-muted: #5d6c63;
	--npg-wx-green: #1e5138;
	--npg-wx-green-light: #4c8b63;
	background: #fff;
	border: 1px solid #dce5de;
	border-radius: 20px;
	box-shadow: 0 18px 44px rgba(24, 55, 39, 0.12);
	color: var(--npg-wx-ink);
	container-name: npg-weather-card;
	container-type: inline-size;
	font-family: inherit;
	margin: 28px 0 34px;
	max-width: 100%;
	overflow: hidden;
}

.npg-weather-card__header {
	align-items: center;
	background:
		radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.12) 0 4%, transparent 4.5%),
		linear-gradient(135deg, #173f2c 0%, #265c42 58%, #397552 100%);
	color: #fff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 24px 28px;
}

.npg-weather-card__eyebrow {
	align-items: center;
	color: #d9f0e0;
	display: flex;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	margin: 0 0 7px;
	padding: 0;
	text-transform: uppercase;
}

.npg-weather-card__eyebrow span {
	background: #9de2aa;
	border: 2px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(157, 226, 170, 0.16);
	display: inline-block;
	height: 9px;
	margin-right: 9px;
	width: 9px;
}

#page-container .npg-weather-card__header h2,
.npg-weather-card__header h2 {
	color: #fff;
	font-size: clamp(22px, 3vw, 31px);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0;
	padding: 0;
}

.npg-weather-card__location {
	color: #dcece1;
	font-size: 14px;
	line-height: 1.45;
	margin: 6px 0 0;
	padding: 0;
}

.npg-weather-card__source-link {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	color: #fff !important;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	gap: 7px;
	line-height: 1;
	padding: 11px 14px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.npg-weather-card__source-link:hover,
.npg-weather-card__source-link:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.56);
}

.npg-weather-card__status {
	min-height: 230px;
	padding: 26px 28px 24px;
}

.npg-weather-card__skeleton {
	display: grid;
	gap: 12px;
	grid-template-columns: 1.1fr 2fr 2fr;
}

.npg-weather-card__skeleton span {
	animation: npg-weather-pulse 1.5s ease-in-out infinite;
	background: linear-gradient(90deg, #edf2ee 25%, #f8faf8 50%, #edf2ee 75%);
	background-size: 200% 100%;
	border-radius: 14px;
	display: block;
	height: 150px;
}

.npg-weather-card__loading-text {
	color: var(--npg-wx-muted);
	font-size: 13px;
	margin: 16px 0 0;
	padding: 0;
	text-align: center;
}

.npg-weather-card__alerts {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
}

.npg-weather-alert {
	--npg-alert-accent: #475467;
	--npg-alert-bg: #f2f4f7;
	background: var(--npg-alert-bg);
	border: 1px solid color-mix(in srgb, var(--npg-alert-accent) 28%, white);
	border-left: 6px solid var(--npg-alert-accent);
	border-radius: 13px;
	color: #242b27;
	display: grid;
	gap: 12px;
	grid-template-columns: auto 1fr;
	margin: 0;
	padding: 15px 16px 14px;
}

.npg-weather-alert--extreme {
	--npg-alert-accent: #741b47;
	--npg-alert-bg: #fff0f6;
}

.npg-weather-alert--severe {
	--npg-alert-accent: #b42318;
	--npg-alert-bg: #fff2f0;
}

.npg-weather-alert--moderate {
	--npg-alert-accent: #a15c07;
	--npg-alert-bg: #fff8e7;
}

.npg-weather-alert--minor {
	--npg-alert-accent: #175cd3;
	--npg-alert-bg: #eff7ff;
}

.npg-weather-alert__icon {
	align-items: center;
	background: var(--npg-alert-accent);
	border-radius: 50%;
	color: #fff;
	display: flex;
	height: 34px;
	justify-content: center;
	margin-top: 1px;
	width: 34px;
}

.npg-weather-alert__icon svg {
	height: 19px;
	width: 19px;
}

.npg-weather-alert > div {
	min-width: 0;
}

.npg-weather-alert__heading-row {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 7px 10px;
}

.npg-weather-alert__heading {
	color: var(--npg-alert-accent);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	padding: 0;
}

.npg-weather-alert__severity {
	background: var(--npg-alert-accent);
	border-radius: 999px;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 5px 7px;
	text-transform: uppercase;
}

.npg-weather-alert__timing,
.npg-weather-alert__issuer {
	color: #4e5852;
	font-size: 12px;
	line-height: 1.4;
	margin: 4px 0 0;
	padding: 0;
}

.npg-weather-alert details {
	margin-top: 9px;
}

.npg-weather-alert summary {
	align-items: center;
	color: var(--npg-alert-accent);
	cursor: pointer;
	display: flex;
	font-size: 12px;
	font-weight: 750;
	list-style-position: outside;
	margin-left: 0;
	min-height: 40px;
}

.npg-weather-alert summary::before {
	content: "▸";
	font-size: 12px;
	margin-right: 7px;
	transition: transform 150ms ease;
}

.npg-weather-alert details[open] summary::before {
	transform: rotate(90deg);
}

.npg-weather-alert summary:focus-visible {
	outline: 2px solid var(--npg-alert-accent);
	outline-offset: 3px;
}

.npg-weather-alert__instruction {
	color: #374039;
	font-size: 13px;
	line-height: 1.55;
	margin: 8px 0 0;
	padding: 0;
}

.npg-weather-card__main {
	align-items: stretch;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(190px, 0.9fr) minmax(0, 2.1fr);
}

.npg-weather-now {
	background: linear-gradient(145deg, #edf6ef 0%, #f8fbf8 100%);
	border: 1px solid #dce9df;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px;
}

.npg-weather-now__label,
.npg-weather-forecast__label {
	color: #526158;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	margin: 0 0 10px;
	padding: 0;
	text-transform: uppercase;
}

.npg-weather-now__reading {
	align-items: center;
	display: flex;
	gap: 13px;
}

.npg-weather-icon {
	color: #d97b19;
	display: inline-flex;
	flex: 0 0 auto;
	height: 45px;
	width: 45px;
}

.npg-weather-icon svg {
	display: block;
	height: 100%;
	overflow: visible;
	width: 100%;
}

.npg-weather-now__temperature {
	color: #163e2b;
	font-size: clamp(42px, 6vw, 60px);
	font-weight: 780;
	letter-spacing: -0.07em;
	line-height: 0.95;
	white-space: nowrap;
}

.npg-weather-now__temperature small {
	font-size: 0.38em;
	font-weight: 750;
	letter-spacing: -0.02em;
	vertical-align: top;
}

.npg-weather-now__description {
	color: #26382e;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin: 12px 0 0;
	padding: 0;
}

.npg-weather-now__metrics {
	border-top: 1px solid #d6e4d9;
	display: grid;
	gap: 7px;
	grid-template-columns: 1fr 1fr;
	margin: 14px 0 0;
	padding: 13px 0 0;
}

.npg-weather-now__metric {
	min-width: 0;
}

.npg-weather-now__metric span {
	color: #68766e;
	display: block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.npg-weather-now__metric strong {
	color: #26382e;
	display: block;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.3;
	margin-top: 2px;
	overflow-wrap: anywhere;
}

.npg-weather-forecast {
	min-width: 0;
}

.npg-weather-forecast__heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 0 10px;
}

.npg-weather-forecast__heading .npg-weather-forecast__label {
	margin: 0;
}

.npg-weather-forecast__heading > span {
	color: #68766e;
	display: inline;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.npg-weather-forecast__grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.npg-weather-day {
	background: #f8faf8;
	border: 1px solid #e2e8e3;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	min-height: 139px;
	min-width: 0;
	margin: 0;
	padding: 11px 8px 10px;
	text-align: center;
}

.npg-weather-day--first {
	background: #f1f7f3;
	border-color: #bdd4c4;
}

.npg-weather-day__name {
	color: #304239;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 7px;
	min-height: 14px;
	padding: 0;
}

.npg-weather-day__name-short {
	display: none;
}

.npg-weather-day .npg-weather-icon {
	height: 27px;
	margin: 0 auto 5px;
	width: 27px;
}

.npg-weather-day__temperatures {
	color: #173f2c;
	display: flex;
	flex-direction: column;
	font-size: 12px;
	gap: 2px;
	line-height: 1;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.npg-weather-day__temperatures strong {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.05em;
}

.npg-weather-day__temperatures span {
	color: #718078;
	font-size: 10px;
	font-weight: 750;
}

.npg-weather-day__temperatures small {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.npg-weather-day__description {
	color: #58665e;
	display: -webkit-box;
	font-size: 10px;
	line-height: 1.3;
	margin: 5px 0 0;
	overflow: hidden;
	padding: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.npg-weather-day__precipitation {
	color: #35648b;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	margin: auto 0 0;
	padding: 6px 0 0;
}

.npg-weather-card__footer {
	align-items: flex-start;
	border-top: 1px solid #e6ebe7;
	color: #69766e;
	display: flex;
	font-size: 11px;
	gap: 12px;
	justify-content: space-between;
	line-height: 1.45;
	margin: 20px 0 0;
	padding: 14px 0 0;
}

.npg-weather-card__footer p {
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

.npg-weather-card__updated {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 7px 11px;
	min-width: 0;
}

.npg-weather-card__refresh-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 9px;
}

#page-container .npg-weather-card .npg-weather-card__refresh,
.npg-weather-card .npg-weather-card__refresh {
	align-items: center;
	appearance: none;
	background: #f6faf7 !important;
	border: 1px solid #c9d8ce !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #315e45 !important;
	cursor: pointer;
	display: inline-flex !important;
	font: inherit;
	font-size: 11px;
	font-weight: 750;
	gap: 5px;
	justify-content: center;
	line-height: 1;
	min-height: 32px;
	padding: 6px 10px !important;
	text-transform: none !important;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

#page-container .npg-weather-card .npg-weather-card__refresh:hover:not(:disabled),
.npg-weather-card .npg-weather-card__refresh:hover:not(:disabled) {
	background: #edf6ef !important;
	border-color: #9fb9a8 !important;
}

.npg-weather-card__refresh:focus-visible {
	outline: 2px solid #2b6a47;
	outline-offset: 2px;
}

.npg-weather-card__refresh:disabled {
	cursor: wait;
	opacity: 0.74;
}

.npg-weather-card__refresh-icon {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.npg-weather-card--refreshing .npg-weather-card__refresh-icon {
	animation: npg-weather-spin 850ms linear infinite;
}

.npg-weather-card__refresh-status {
	color: #68766e;
	font-size: 10px;
	line-height: 1.35;
}

.npg-weather-card__source-note {
	flex: 0 0 auto;
	text-align: right;
}

.npg-weather-card__footer a {
	color: #315e45;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.npg-weather-card__error,
.npg-weather-card__noscript {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	color: #7c2d12;
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
	padding: 15px;
}

@keyframes npg-weather-pulse {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

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

@media (max-width: 760px) {
	.npg-weather-card {
		border-radius: 16px;
		margin: 22px 0 28px;
	}

	.npg-weather-card__header {
		align-items: flex-start;
		padding: 21px 20px;
	}

	.npg-weather-card__source-link {
		padding: 9px 11px;
	}

	.npg-weather-card__status {
		padding: 20px 18px;
	}

	.npg-weather-card__main {
		grid-template-columns: 1fr;
	}

	.npg-weather-now {
		padding: 16px;
	}

	.npg-weather-now__metrics {
		grid-template-columns: repeat(3, 1fr);
	}

	.npg-weather-forecast__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.npg-weather-day {
		min-height: 135px;
	}

	.npg-weather-card__skeleton {
		grid-template-columns: 1fr 1fr;
	}

	.npg-weather-card__skeleton span:first-child {
		grid-column: 1 / -1;
	}
}

@container npg-weather-card (max-width: 680px) {
	.npg-weather-card__header {
		align-items: flex-start;
		padding: 21px 20px;
	}

	.npg-weather-card__source-link {
		padding: 9px 11px;
	}

	.npg-weather-card__status {
		padding: 20px 18px;
	}

	.npg-weather-card__main {
		grid-template-columns: 1fr;
	}

	.npg-weather-now__metrics {
		grid-template-columns: repeat(3, 1fr);
	}

	.npg-weather-forecast__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 470px) {
	.npg-weather-card__header {
		display: block;
	}

	.npg-weather-card__source-link {
		margin-top: 14px;
	}

	.npg-weather-alert__icon {
		height: 30px;
		width: 30px;
	}

	.npg-weather-now__metrics {
		grid-template-columns: repeat(3, 1fr);
	}

	.npg-weather-card__footer {
		display: block;
	}

	.npg-weather-card__footer p + p {
		margin-top: 6px;
	}
}

@container npg-weather-card (max-width: 520px) {
	.npg-weather-card__header {
		display: block;
	}

	.npg-weather-card__source-link {
		margin-top: 14px;
	}
}

@container npg-weather-card (max-width: 420px) {
	.npg-weather-card__header {
		display: block;
	}

	.npg-weather-card__source-link {
		margin-top: 14px;
	}

	.npg-weather-alert {
		gap: 10px;
		grid-template-columns: 30px minmax(0, 1fr);
		padding: 13px 12px 12px;
	}

	.npg-weather-alert__heading-row {
		align-items: flex-start;
		display: grid;
		gap: 6px;
	}

	.npg-weather-alert__heading {
		font-size: 15px;
	}

	.npg-weather-alert__severity {
		justify-self: start;
	}

	.npg-weather-now {
		column-gap: 12px;
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(88px, 0.8fr);
		grid-template-rows: auto auto auto;
		padding: 14px;
	}

	.npg-weather-now__label {
		grid-column: 1 / -1;
		margin-bottom: 9px;
	}

	.npg-weather-now__reading {
		gap: 8px;
		grid-column: 1;
		grid-row: 2;
	}

	.npg-weather-now__reading .npg-weather-icon {
		height: 36px;
		width: 36px;
	}

	.npg-weather-now__temperature {
		font-size: 43px;
	}

	.npg-weather-now__description {
		font-size: 13px;
		grid-column: 1;
		grid-row: 3;
		margin-top: 8px;
	}

	.npg-weather-now__metrics {
		align-content: center;
		border-left: 1px solid #d6e4d9;
		border-top: 0;
		display: grid;
		gap: 8px;
		grid-column: 2;
		grid-row: 2 / 4;
		grid-template-columns: 1fr;
		margin: 0;
		padding: 0 0 0 11px;
	}

	.npg-weather-now__metric strong {
		font-size: 12px;
	}

	.npg-weather-forecast__grid {
		gap: 6px;
		grid-template-columns: 1fr;
	}

	.npg-weather-day {
		align-items: center;
		display: grid;
		gap: 8px;
		grid-template-columns: 42px 28px minmax(0, 1fr) auto;
		min-height: 50px;
		padding: 8px 10px;
		text-align: left;
	}

	.npg-weather-day__name {
		font-size: 11px;
		margin: 0;
		min-height: 0;
	}

	.npg-weather-day__name-full {
		display: none;
	}

	.npg-weather-day__name-short {
		display: inline;
	}

	.npg-weather-day .npg-weather-icon {
		height: 26px;
		margin: 0;
		width: 26px;
	}

	.npg-weather-day__temperatures {
		display: flex;
		flex-direction: row;
		gap: 7px;
		justify-content: flex-start;
	}

	.npg-weather-day__temperatures strong {
		font-size: 16px;
	}

	.npg-weather-day__temperatures span {
		font-size: 12px;
	}

	.npg-weather-day__temperatures small {
		font-size: 10px;
	}

	.npg-weather-day__description {
		border: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.npg-weather-day__precipitation {
		font-size: 9px;
		margin: 0;
		padding: 0;
		white-space: nowrap;
	}

	.npg-weather-card__footer {
		display: block;
	}

	.npg-weather-card__refresh {
		min-height: 40px;
		padding: 8px 11px !important;
	}

	.npg-weather-card__source-note {
		margin-top: 8px !important;
		text-align: left;
	}
}

@container npg-weather-card (max-width: 300px) {
	.npg-weather-now {
		display: flex;
		flex-direction: column;
	}

	.npg-weather-now__reading {
		gap: 8px;
	}

	.npg-weather-now__description {
		margin-top: 8px;
	}

	.npg-weather-now__metrics {
		align-content: normal;
		border-left: 0;
		border-top: 1px solid #d6e4d9;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 12px 0 0;
		padding: 10px 0 0;
	}

	.npg-weather-now__metric strong {
		font-size: 11px;
	}

	.npg-weather-day {
		column-gap: 5px;
		grid-template-columns: 42px 22px minmax(0, 1fr);
		grid-template-rows: auto auto;
		min-height: 58px;
		padding: 8px;
		row-gap: 2px;
	}

	.npg-weather-day__name {
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.npg-weather-day .npg-weather-icon {
		grid-column: 2;
		grid-row: 1 / 3;
		height: 22px;
		width: 22px;
	}

	.npg-weather-day__temperatures {
		grid-column: 3;
		grid-row: 1;
	}

	.npg-weather-day__precipitation {
		grid-column: 3;
		grid-row: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.npg-weather-card__skeleton span {
		animation: none;
	}

	.npg-weather-card__source-link {
		transition: none;
	}

	.npg-weather-card--refreshing .npg-weather-card__refresh-icon {
		animation: none;
	}

	.npg-weather-card__refresh {
		transition: none;
	}
}
