/* Digital Panda 1.9.22: final homepage collision, contrast, and responsive fixes. */

body .digital-panda-hero__copy {
	max-width: min(720px, 58%);
}

body .digital-panda-hero__description {
	max-width: 34rem;
}

/* The category intro uses the same compact editorial label language as the other sections. */
body .dp-worlds .dp-worlds__intro h2 {
	font-family: var(--dp-sans, Manrope, Arial, sans-serif);
	font-size: clamp(1rem, 1.4vw, 1.45rem);
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.45;
	text-transform: uppercase;
}

body .dp-worlds .dp-worlds__direction {
	display: inline-flex;
	font-size: 0;
	height: 2rem;
	width: 7rem;
	align-items: center;
	border-top: 1px solid var(--dp-orange, #f47721);
	color: var(--dp-orange, #f47721);
}

body .dp-worlds .dp-worlds__direction::before {
	content: '→';
	display: block;
	font-family: Arial, sans-serif;
	font-size: 1.8rem;
	font-weight: 300;
	line-height: 1;
	margin-left: auto;
}

/* Reader favourites: keep the featured card expressive while giving compact cards enough text/arrow room. */
body .digital-panda-reader-favourites__cards {
	grid-template-columns: minmax(17rem, 1.35fr) repeat(3, minmax(10.5rem, .82fr));
	gap: clamp(.7rem, 1.25vw, 1.25rem);
}

body .digital-panda-reader-card {
	height: clamp(21rem, 27vw, 27rem);
}

body .digital-panda-reader-card.is-featured {
	height: clamp(23rem, 31vw, 31rem);
}

body .digital-panda-reader-card__overlay {
	padding-right: 4.25rem;
}

body .digital-panda-reader-card__arrow {
	right: 1rem;
	bottom: 1rem;
	transform: none;
	z-index: 4;
}

/* Stories That Matter: slightly wider cards, shorter overall footprint, and reserved arrow space. */
body .digital-panda-picks__cards {
	gap: clamp(.75rem, 1.2vw, 1.25rem);
}

body .digital-panda-pick-card {
	min-width: 0;
}

body .digital-panda-pick-card__image {
	height: clamp(12.5rem, 19vw, 18rem);
}

body .digital-panda-pick-card__content {
	min-height: 8.5rem;
	padding: 1rem 4.5rem 1.25rem 1.1rem;
}

body .digital-panda-pick-card .digital-panda-card-arrow {
	right: 1.1rem;
	bottom: 1.1rem;
	transform: none;
	z-index: 5;
}

/* What's Hot: use the reference's image-led card treatment with a controlled lower content panel. */
body .digital-panda-trending__items {
	gap: clamp(.75rem, 1.35vw, 1.35rem);
}

body .digital-panda-trending__item {
	position: relative;
	display: block;
	height: clamp(24rem, 30vw, 29rem);
	min-height: 0;
	border: 1px solid rgba(247, 237, 226, .32);
	border-radius: 1.25rem;
	overflow: hidden;
	background: #111;
}

body .digital-panda-trending__item::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 25%, rgba(17, 17, 17, .08) 42%, rgba(17, 17, 17, .96) 78%, #111 100%);
	pointer-events: none;
}

body .digital-panda-trending__thumbnail {
	position: absolute;
	inset: 0 0 auto;
	height: 62%;
	width: 100%;
	border-radius: 0;
	overflow: hidden;
}

body .digital-panda-trending__thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body .digital-panda-trending__rank {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	z-index: 3;
}

body .digital-panda-trending__content {
	position: absolute;
	left: 1.35rem;
	right: 1.35rem;
	bottom: 1.2rem;
	z-index: 3;
	min-width: 0;
	padding-right: 3.4rem;
}

body .digital-panda-trending__headline {
	display: block;
	max-width: none;
	font-size: clamp(1.3rem, 1.8vw, 2rem);
	line-height: 1.08;
}

body .digital-panda-trending__summary {
	display: block;
	max-width: none;
	margin-top: .45rem;
	font-size: .85rem;
	line-height: 1.35;
}

body .digital-panda-trending__arrow {
	right: 0;
	bottom: .05rem;
	z-index: 4;
}

/* Special edition: restore readable ink on the ivory variation and keep the image contained. */
body .digital-panda-special-edition {
	background: var(--dp-ivory, #f5e8d8) !important;
	color: var(--dp-ink, #171514) !important;
}

body .digital-panda-special-edition__image img {
	object-fit: cover !important;
	object-position: center center !important;
}

body .digital-panda-special-edition__copy,
body .digital-panda-special-edition__copy h2,
body .digital-panda-special-edition__copy p,
body .digital-panda-special-edition__copy .digital-panda-eyebrow {
	color: var(--dp-ink, #171514) !important;
}

body .digital-panda-special-edition__copy h2 em {
	color: var(--dp-orange, #f47721) !important;
}

body .digital-panda-special-edition__copy .digital-panda-button {
	border-color: var(--dp-ink, #171514) !important;
	color: var(--dp-ink, #171514) !important;
}

/* Curated series: compact cards retain the tall editorial proportion without arrow collisions. */
body .dp-curated-series .digital-panda-series-card__overlay {
	padding: 1.2rem 4.2rem 1.25rem 1.2rem;
}

body .dp-curated-series .digital-panda-series-card .digital-panda-card-arrow {
	right: 1rem;
	bottom: 1rem;
	transform: none;
	z-index: 5;
}

/* Community: image frames stay fully visible while the existing JS swaps image and quote together. */
body .digital-panda-community__visual {
	min-width: 0;
	min-height: 0;
}

body .digital-panda-community__visual-image {
	display: block;
	width: min(82%, 28rem);
	height: clamp(20rem, 27vw, 28rem);
	border-radius: 1.8rem;
	object-fit: cover;
	object-position: center;
	clip-path: none;
}

body .digital-panda-community__visual-frame {
	border-radius: 1.8rem;
}

body .digital-panda-community__slides {
	min-width: 0;
}

/* Newsletter: a stable focus ring and resilient line icons. */
body .digital-panda-newsletter__form {
	min-height: 4.7rem;
	overflow: hidden;
	border-radius: 999px;
	outline: 0 !important;
	box-shadow: 0 0 0 1px rgba(247, 237, 226, .9);
}

body .digital-panda-newsletter__form:focus-within {
	outline: 0 !important;
	box-shadow: 0 0 0 2px var(--dp-orange, #f47721), 0 0 0 5px rgba(244, 119, 33, .2);
}

body .digital-panda-newsletter__form input,
body .digital-panda-newsletter__form button {
	border: 0 !important;
	outline: 0 !important;
}

body .digital-panda-newsletter__form input {
	min-width: 0;
	box-shadow: none !important;
}

body .digital-panda-newsletter__form button,
body .digital-panda-newsletter__form button:hover,
body .digital-panda-newsletter__form button:focus-visible {
	background: var(--dp-orange, #f47721) !important;
	color: #171514 !important;
	box-shadow: none !important;
}

body .digital-panda-newsletter__benefits > span {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .65rem;
}

body .digital-panda-newsletter__benefit-icon {
	position: relative;
	display: block;
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	color: var(--dp-orange, #f47721);
}

body .digital-panda-newsletter__benefit-icon--stories::before,
body .digital-panda-newsletter__benefit-icon--stories::after {
	content: '';
	position: absolute;
	top: .3rem;
	width: .95rem;
	height: 1.35rem;
	border: 1.5px solid currentColor;
}

body .digital-panda-newsletter__benefit-icon--stories::before { left: .1rem; border-radius: .15rem 0 0 .15rem; }
body .digital-panda-newsletter__benefit-icon--stories::after { right: .1rem; border-radius: 0 .15rem .15rem 0; }

body .digital-panda-newsletter__benefit-icon--perspectives::before {
	content: '↯';
	position: absolute;
	inset: -.15rem 0 0;
	font-size: 2.2rem;
	line-height: 1.1;
	text-align: center;
}

body .digital-panda-newsletter__benefit-icon--picks::before {
	content: '';
	position: absolute;
	top: .35rem;
	left: .45rem;
	width: 1.05rem;
	height: 1.05rem;
	border: 1.5px solid currentColor;
	transform: rotate(45deg);
}

/* Footer: four equal editorial zones, all aligned from the same top baseline. */
body .digital-panda-footer-grid {
	grid-template-columns: minmax(15rem, 1.1fr) minmax(27rem, 1.8fr) minmax(20rem, 1.2fr) minmax(9rem, .7fr);
	align-items: start;
}

body .digital-panda-footer-grid > .wp-block-group:last-child {
	display: block;
	grid-column: auto;
	align-items: flex-start;
	justify-content: flex-start;
	margin-top: 0 !important;
}

body .digital-panda-footer-contributor > p {
	max-width: 22rem;
	margin-left: 0;
}

body .digital-panda-footer-grid .wp-block-social-links {
	justify-content: flex-start;
	margin-top: 1rem;
}

@media (max-width: 1250px) {
	body .digital-panda-footer-grid {
		grid-template-columns: minmax(14rem, 1fr) minmax(20rem, 1.45fr) minmax(17rem, 1fr);
	}

	body .digital-panda-footer-grid > .wp-block-group:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	body .digital-panda-hero__copy { max-width: 80%; }
	body .digital-panda-picks__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .digital-panda-pick-card__image { height: clamp(13rem, 29vw, 18rem); }
	body .digital-panda-trending__item { height: 25rem; }
	body .digital-panda-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .digital-panda-footer-grid > .wp-block-group:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
	body .digital-panda-hero__copy { max-width: 100%; }
	body .digital-panda-hero__description { max-width: 34rem; }
	body .digital-panda-reader-favourites__cards { grid-template-columns: 1fr; }
	body .digital-panda-reader-card,
	body .digital-panda-reader-card.is-featured { height: 24rem; }
	body .digital-panda-picks__cards { grid-template-columns: 1fr; }
	body .digital-panda-pick-card__image { height: 17rem; }
	body .digital-panda-trending__item { height: 23rem; }
	body .digital-panda-trending__thumbnail { height: 58%; }
	body .digital-panda-community__visual-image { width: 88%; height: 20rem; }
	body .digital-panda-newsletter__form { min-height: 4rem; }
	body .digital-panda-newsletter__benefits { gap: .75rem; }
	body .digital-panda-newsletter__benefits > span { justify-content: flex-start; }
	body .digital-panda-footer-grid { grid-template-columns: 1fr; }
	body .digital-panda-footer-grid > .wp-block-group:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	body .digital-panda-reader-card,
	body .digital-panda-pick-card,
	body .digital-panda-trending__item,
	body .digital-panda-series-card { transition: none !important; }
}

/* v1.9.23: keep contributor copy directly under its heading and make the mobile footer balanced. */
body .digital-panda-footer-contributor > p:not(.digital-panda-footer-contributor__cta) {
	box-sizing: border-box;
	display: block;
	margin: 0 0 1.2rem !important;
	max-width: 22rem;
	text-align: center !important;
	width: 100%;
}

@media (max-width: 640px) {
	body .digital-panda-footer-grid > .digital-panda-footer-contributor {
		align-items: center;
		display: flex;
		flex-direction: column;
		padding-left: 0 !important;
		text-align: center;
	}

	body .digital-panda-footer-contributor h3,
	body .digital-panda-footer-contributor h2 {
		text-align: center;
	}

	body .digital-panda-footer-contributor > p:not(.digital-panda-footer-contributor__cta) {
		align-self: stretch;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 22rem;
		text-align: left !important;
	}

	body .digital-panda-footer-contributor__cta {
		align-self: center;
	}

	body .digital-panda-footer-grid > .wp-block-group:last-child {
		align-items: center;
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	body .digital-panda-footer-grid .wp-block-social-links {
		justify-content: center;
	}
}

/* v1.9.24: repair the newsletter form and make the benefit icons legible below 768px. */
body .digital-panda-newsletter__mail-icon {
	box-sizing: border-box;
	display: block;
	flex: 0 0 1.65rem;
	height: 1.25rem !important;
	margin: 0 0 0 1.25rem !important;
	padding: 0 !important;
	position: relative;
	width: 1.65rem !important;
}

body .digital-panda-newsletter__mail-icon::before {
	border: 1.7px solid var(--dp-editorial-cream, #f5e6d6) !important;
	border-radius: .16rem;
	content: '';
	inset: .1rem 0 0 !important;
	position: absolute;
}

body .digital-panda-newsletter__mail-icon::after {
	border-bottom: 1.7px solid var(--dp-editorial-cream, #f5e6d6) !important;
	border-right: 1.7px solid var(--dp-editorial-cream, #f5e6d6) !important;
	content: '';
	height: .62rem;
	left: .38rem;
	position: absolute;
	top: -.01rem;
	transform: rotate(45deg);
	width: .62rem;
}

body .digital-panda-newsletter__benefit-icon--perspectives::before {
	background: currentColor;
	border: 0 !important;
	clip-path: polygon(54% 0, 10% 51%, 42% 51%, 21% 100%, 91% 37%, 57% 37%);
	content: '';
	inset: .08rem .22rem !important;
	position: absolute;
	height: auto;
	left: auto;
	top: auto;
	transform: none !important;
	width: auto;
}

body .digital-panda-newsletter__benefit-icon--picks::before {
	background: currentColor;
	border: 0 !important;
	clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%);
	content: '';
	inset: .18rem !important;
	position: absolute;
	height: auto;
	left: auto;
	top: auto;
	transform: none !important;
	width: auto;
}

@media (max-width: 767px) {
	body .digital-panda-newsletter__form {
		align-items: center;
		border-radius: 1.45rem !important;
		display: grid !important;
		grid-template-columns: 2.45rem minmax(0, 1fr);
		grid-template-rows: minmax(3.55rem, auto) 3.55rem;
		min-height: 0 !important;
		overflow: hidden !important;
		padding: .35rem !important;
	}

	body .digital-panda-newsletter__mail-icon {
		grid-column: 1;
		grid-row: 1;
		margin-left: .55rem !important;
	}

	body .digital-panda-newsletter__form input {
		align-self: stretch;
		grid-column: 2;
		grid-row: 1;
		min-height: 3.55rem;
		padding: .75rem .65rem !important;
		width: auto !important;
	}

	body .digital-panda-newsletter__form button {
		align-self: stretch;
		border-radius: 999px !important;
		grid-column: 1 / -1;
		grid-row: 2;
		min-height: 3.55rem;
		min-width: 0 !important;
		padding-inline: 1rem;
		width: auto !important;
	}

	body .digital-panda-newsletter__benefit-icon {
		transform: none !important;
	}
}

/* v1.9.25: contain Community Voices artwork below 768px instead of letting the angled desktop frame overlap the copy. */
@media (max-width: 767px) {
	body .digital-panda-community {
		padding-block: 4.25rem 4.75rem;
	}

	body .digital-panda-community__inner {
		gap: 2.5rem;
		padding-inline: 0;
	}

	body .digital-panda-community__heading {
		width: 100%;
	}

	body .digital-panda-community__heading h2 {
		font-size: clamp(3.45rem, 12.5vw, 5.2rem);
		max-width: 100%;
	}

	body .digital-panda-community__description {
		margin-top: 1.7rem;
		max-width: 31rem;
	}

	body .digital-panda-community__visual {
		align-items: center;
		display: flex;
		justify-content: center;
		min-height: clamp(22rem, 78vw, 27rem);
		overflow: visible;
		padding: .4rem 0 1rem;
		width: 100%;
	}

	body .digital-panda-community__visual-image {
		aspect-ratio: .8;
		clip-path: none;
		height: auto !important;
		max-height: 27rem;
		object-position: center;
		transform: none !important;
		width: min(82vw, 20rem) !important;
	}

	body .digital-panda-community__visual-frame {
		border-radius: 1.6rem;
		height: min(27rem, 112vw) !important;
		transform: translate(.8rem, .9rem) rotate(5deg) !important;
		width: min(82vw, 20rem) !important;
	}

	body .digital-panda-community__slides {
		width: 100%;
	}

	body .digital-panda-community__controls {
		justify-content: center;
		width: 100%;
	}
}

/* v1.9.26: use resilient text/CSS icons and remove the mobile frame edge that cut across the artwork. */
body .digital-panda-community__arrow-icon {
	color: currentColor;
	display: inline-block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.65rem;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-.03em);
}

body .digital-panda-newsletter__mail-icon {
	font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
	font-size: 1.5rem;
	line-height: 1;
	text-align: center;
}

body .digital-panda-newsletter__mail-icon::before {
	border: 0 !important;
	content: '\2709' !important;
	inset: auto !important;
	position: static;
}

body .digital-panda-newsletter__mail-icon::after {
	content: none !important;
}

@media (max-width: 767px) {
	body .digital-panda-community__visual-image {
	border: 0 !important;
	border-radius: 1.6rem !important;
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .38);
	clip-path: none !important;
	transform: none !important;
	}

	body .digital-panda-community__visual-frame {
		display: none !important;
	}
}

/* v1.9.27: make Reader Favourites arrows useful on tablet and mobile. */
@media (max-width: 1024px) {
	body .digital-panda-reader-favourites__cards {
		display: grid;
		grid-auto-columns: minmax(16rem, 42vw);
		grid-auto-flow: column;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	body .digital-panda-reader-favourites__cards::-webkit-scrollbar {
		display: none;
	}

	body .digital-panda-reader-card,
	body .digital-panda-reader-card.is-featured {
		min-width: 0;
		scroll-snap-align: start;
	}
}

@media (max-width: 640px) {
	body .digital-panda-reader-favourites__cards {
		grid-auto-columns: minmax(16rem, 82vw);
		padding-right: 1rem;
	}

	body .digital-panda-reader-card,
	body .digital-panda-reader-card.is-featured {
		height: 26rem;
	}
}

/* v1.9.28: match the asymmetric Stories That Matter card composition. */
@media (min-width: 901px) {
	body .digital-panda-picks__inner {
		gap: clamp(2.5rem, 3.7vw, 5rem);
		grid-template-columns: minmax(13rem, .66fr) minmax(0, 2.95fr);
	}

	body .digital-panda-picks__cards {
		align-items: center;
		column-gap: clamp(.2rem, .55vw, .7rem);
		grid-template-columns: minmax(7.5rem, .72fr) minmax(13rem, 1.55fr) minmax(10rem, 1fr) minmax(10rem, 1fr);
		padding: 1rem .2rem 2rem;
	}

	body .digital-panda-pick-card,
	body .digital-pick-card--1,
	body .digital-pick-card--2,
	body .digital-pick-card--3,
	body .digital-pick-card--4 {
		height: clamp(20rem, 24vw, 25rem);
	}

	body .digital-panda-pick-card--1 { transform: rotate(-3deg) translateY(1.15rem); }
	body .digital-panda-pick-card--2 {
		height: clamp(22rem, 27vw, 28rem);
		position: relative;
		transform: rotate(.7deg) translateY(-.65rem);
		z-index: 3;
	}
	body .digital-panda-pick-card--3 { transform: rotate(1.3deg) translateY(.25rem); }
	body .digital-panda-pick-card--4 { transform: rotate(-1.7deg) translateY(1rem); }

	body .digital-panda-pick-card__image { height: 63%; }
	body .digital-panda-pick-card__content { padding: 1rem 3.7rem 1rem 1rem; }
	body .digital-panda-pick-card h3 {
		font-size: clamp(1.15rem, 1.65vw, 1.9rem);
		max-width: 10ch;
	}
	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
		font-size: clamp(.68rem, .72vw, .8rem);
	}
	body .digital-panda-pick-card .digital-panda-card-arrow {
		bottom: .9rem;
		right: .9rem;
	}
}

@media (max-width: 900px) {
	body .digital-panda-picks__cards {
		display: flex;
		gap: 1rem;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	body .digital-panda-picks__cards::-webkit-scrollbar { display: none; }
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		flex: 0 0 min(19rem, 76vw);
		height: 26rem;
		scroll-snap-align: start;
		transform: none;
	}

	body .digital-panda-pick-card--2 { height: 28rem; }
}

/* v1.9.31: keep editorial card copy inside a compact, predictable text panel. */
@media (min-width: 901px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		height: clamp(20rem, 22.5vw, 23.5rem);
	}

	body .digital-panda-pick-card--2 {
		height: clamp(21rem, 24vw, 25rem);
	}

	body .digital-panda-pick-card__image {
		height: 58%;
	}

	body .digital-panda-pick-card__content {
		min-height: 0;
		overflow: hidden;
		padding: .85rem 3.65rem .85rem 1rem;
	}

	body .digital-panda-pick-card h3 {
		display: -webkit-box;
		font-size: clamp(1.05rem, 1.45vw, 1.65rem);
		line-height: .96;
		max-width: 11ch;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
		display: -webkit-box;
		font-size: clamp(.64rem, .67vw, .76rem);
		line-height: 1.22;
		margin-top: .42rem;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	body .digital-panda-pick-card .digital-panda-card-arrow {
		bottom: .75rem;
		right: .75rem;
	}

	body .digital-panda-trending__item {
		height: clamp(20rem, 24vw, 24rem);
	}

	body .digital-panda-trending__thumbnail {
		height: 58%;
	}

	body .digital-panda-trending__content {
		bottom: 1rem;
		padding-right: 3.9rem;
	}

	body .digital-panda-trending__headline {
		display: -webkit-box;
		font-size: clamp(1.15rem, 1.55vw, 1.75rem);
		line-height: 1.04;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body .digital-panda-trending__summary {
		display: -webkit-box;
		font-size: clamp(.72rem, .75vw, .82rem);
		line-height: 1.25;
		max-height: 2.5em;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
}

/* Curated Series: reduce the oversized panels while preserving the tall editorial silhouette. */
@media (min-width: 1025px) {
	body .dp-curated-series .digital-panda-series-card {
		height: clamp(24rem, 29vw, 30rem);
	}

	body .dp-curated-series .digital-panda-series-card.is-featured {
		height: clamp(25rem, 30.5vw, 31rem);
	}

	body .dp-curated-series .digital-panda-series-card__overlay {
		bottom: .95rem;
		padding: .9rem 3.8rem .9rem 1rem;
	}

	body .dp-curated-series .digital-panda-series-card h3 {
		display: -webkit-box;
		font-size: clamp(1.3rem, 1.7vw, 2rem);
		line-height: .94;
		max-width: 9ch;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	body .dp-curated-series .digital-panda-series-card__overlay small {
		font-size: clamp(.54rem, .58vw, .66rem);
		line-height: 1.25;
		margin-top: .8rem;
	}

	body .dp-curated-series .digital-panda-series-card .digital-panda-card-arrow {
		bottom: .8rem;
		right: .8rem;
	}
}

@media (min-width: 641px) and (max-width: 1024px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		height: 22.5rem;
	}

	body .digital-panda-pick-card--2 { height: 24rem; }
	body .digital-panda-pick-card__image { height: 57%; }
	body .digital-panda-pick-card__content { padding: .85rem 3.5rem .8rem .95rem; }
	body .digital-panda-pick-card h3 { font-size: 1.2rem; }
	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) { font-size: .7rem; }
	body .digital-panda-trending__item { height: 22rem; }
	body .digital-panda-trending__thumbnail { height: 56%; }
	body .dp-curated-series .digital-panda-series-card { height: 25rem; }
	body .dp-curated-series .digital-panda-series-card.is-featured { height: 26rem; }
}

@media (max-width: 640px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		height: 22rem;
	}

	body .digital-panda-pick-card__image { height: 56%; }
	body .digital-panda-pick-card__content { padding: .8rem 3.3rem .75rem .9rem; }
	body .digital-panda-pick-card h3 { font-size: 1.3rem; }
	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
		display: -webkit-box;
		font-size: .72rem;
		line-height: 1.2;
		max-height: 2.4em;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body .digital-panda-trending__item { height: 21rem; }
	body .digital-panda-trending__thumbnail { height: 55%; }
	body .digital-panda-trending__content { padding-right: 3.45rem; }
	body .digital-panda-trending__headline { font-size: 1.25rem; }
	body .digital-panda-trending__summary { font-size: .76rem; }
	body .dp-curated-series .digital-panda-series-card { height: min(24rem, 105vw); }
	body .dp-curated-series .digital-panda-series-card__overlay { padding: .85rem 3.3rem .85rem .9rem; }
	body .dp-curated-series .digital-panda-series-card h3 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
}

/* v1.9.32: final containment pass for compact editorial cards. */
@media (min-width: 901px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		height: clamp(19rem, 20vw, 21.5rem);
	}

	body .digital-panda-pick-card--2 { height: clamp(20rem, 22vw, 23rem); }
	body .digital-panda-pick-card__image { height: 55%; }
	body .digital-panda-pick-card__content {
		box-sizing: border-box;
		padding: .72rem 3.65rem 2.75rem 1rem;
	}
	body .digital-panda-pick-card .digital-panda-card-label {
		margin-bottom: .4rem;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	body .digital-panda-pick-card h3 {
		font-size: clamp(1rem, 1.3vw, 1.45rem);
		line-height: .98;
		margin: 0;
		max-width: 10ch;
	}
	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
		font-size: clamp(.62rem, .63vw, .72rem);
		line-height: 1.22;
		margin-top: .45rem;
		max-width: 15ch;
	}
	body .digital-panda-pick-card .digital-panda-card-arrow { bottom: .72rem; right: .72rem; }

	body .digital-panda-trending__item { height: clamp(19rem, 22vw, 22rem); }
	body .digital-panda-trending__thumbnail { height: 56%; }
	body .digital-panda-trending__content {
		bottom: .72rem;
		padding: 0 3.7rem 2.25rem 0;
	}
	body .digital-panda-trending__headline {
		font-size: clamp(1.08rem, 1.4vw, 1.55rem);
		line-height: 1.02;
	}
	body .digital-panda-trending__summary {
		font-size: clamp(.68rem, .7vw, .78rem);
		line-height: 1.2;
		margin-top: .3rem;
	}
	body .digital-panda-trending__arrow { bottom: .05rem; }

	body .dp-curated-series .digital-panda-series-card,
	body .dp-curated-series .digital-panda-series-card.is-featured {
		height: clamp(23rem, 25.5vw, 26.5rem);
	}
	body .dp-curated-series .digital-panda-series-card__overlay {
		bottom: .7rem;
		padding: .7rem 3.45rem 2.8rem 1rem;
	}
	body .dp-curated-series .digital-panda-series-card h3 {
		font-size: clamp(1.2rem, 1.45vw, 1.7rem);
		line-height: .96;
		max-width: 9ch;
	}
	body .dp-curated-series .digital-panda-series-card__overlay small {
		font-size: clamp(.5rem, .54vw, .62rem);
		margin-top: .65rem;
	}
	body .dp-curated-series .digital-panda-series-card .digital-panda-card-arrow {
		bottom: .7rem;
		right: .7rem;
	}
}

@media (min-width: 641px) and (max-width: 900px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		height: 21.5rem;
	}
	body .digital-panda-pick-card--2 { height: 22.5rem; }
	body .digital-panda-pick-card__image { height: 55%; }
	body .digital-panda-pick-card__content { padding-bottom: 2.65rem; }
	body .digital-panda-trending__item { height: 21rem; }
	body .dp-curated-series .digital-panda-series-card,
	body .dp-curated-series .digital-panda-series-card.is-featured { height: 23rem; }
}

@media (max-width: 640px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 { height: 20.5rem; }
	body .digital-panda-pick-card__image { height: 54%; }
	body .digital-panda-pick-card__content { padding-bottom: 2.6rem; }
	body .digital-panda-pick-card h3 { font-size: 1.2rem; }
	body .digital-panda-trending__item { height: 20rem; }
	body .dp-curated-series .digital-panda-series-card,
	body .dp-curated-series .digital-panda-series-card.is-featured { height: min(22.5rem, 96vw); }
	body .dp-curated-series .digital-panda-series-card__overlay { padding-bottom: 2.7rem; }
}

/* v1.9.33: preserve the requested Trending Now type while preventing the title from entering the cards. */
body .digital-panda-trending__title {
	color: var(--dp-editorial-cream);
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(4.25rem, 6vw, 6rem);
	font-style: italic;
	letter-spacing: -0.08em;
	line-height: 0.78;
	margin: 0;
	max-width: 100%;
	position: relative;
	white-space: normal;
	z-index: 2;
}

@media (min-width: 1051px) {
	body .digital-panda-trending__inner {
		column-gap: clamp(2rem, 4vw, 4.5rem);
		grid-template-columns: minmax(21rem, 1.1fr) minmax(0, 2.25fr);
	}

	body .digital-panda-trending__intro {
		min-width: 0;
		width: 100%;
	}
}

/* v1.9.34: final Stories That Matter composition to match the asymmetric reference cards. */
@media (min-width: 1101px) {
	body .digital-panda-picks__inner {
		align-items: center;
		column-gap: clamp(2rem, 3.4vw, 4.5rem);
		grid-template-columns: minmax(13rem, .82fr) minmax(0, 2.8fr);
	}

	body .digital-panda-picks__cards {
		align-items: start;
		column-gap: clamp(.35rem, .65vw, .8rem);
		grid-template-columns: minmax(7rem, .68fr) minmax(12rem, 1.65fr) minmax(9rem, 1fr) minmax(9rem, 1fr);
		padding: .85rem .35rem 1.4rem;
	}

	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		box-sizing: border-box;
		height: clamp(19rem, 20vw, 22rem);
		min-width: 0;
	}

	body .digital-panda-pick-card--1 { transform: rotate(-2.8deg) translateY(.85rem); }
	body .digital-panda-pick-card--2 {
		height: clamp(21rem, 22.5vw, 24rem);
		position: relative;
		transform: rotate(.65deg) translateY(-.45rem);
		z-index: 3;
	}
	body .digital-panda-pick-card--3 { transform: rotate(1.15deg) translateY(.2rem); }
	body .digital-panda-pick-card--4 { transform: rotate(-1.4deg) translateY(.7rem); }

	body .digital-panda-pick-card > a {
		display: flex;
		flex-direction: column;
		height: 100%;
		min-height: 0;
	}

	body .digital-panda-pick-card__image {
		box-sizing: border-box;
		flex: 0 0 58%;
		height: auto;
		min-height: 0;
		overflow: hidden;
		border: 0;
		box-shadow: none;
	}

	body .digital-panda-pick-card__image img {
		display: block;
		height: 100%;
		width: 100%;
		object-fit: cover;
	}

	body .digital-panda-pick-card--2 .digital-panda-pick-card__image { flex-basis: 60%; }

	body .digital-panda-pick-card__content {
		box-sizing: border-box;
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		min-height: 0;
		overflow: hidden;
		padding: .75rem 3.15rem 2.55rem 1rem;
		position: relative;
	}

	body .digital-panda-pick-card .digital-panda-card-label {
		flex: 0 0 auto;
		font-size: clamp(.5rem, .52vw, .62rem);
		letter-spacing: .13em;
		line-height: 1.1;
		margin: 0 0 .45rem;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body .digital-panda-pick-card h3 {
		display: -webkit-box;
		flex: 0 0 auto;
		font-size: clamp(1rem, 1.25vw, 1.45rem);
		line-height: .96;
		margin: 0;
		max-width: 13ch;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	body .digital-panda-pick-card--1 h3 { max-width: 8ch; }
	body .digital-panda-pick-card--3 h3 { max-width: 10ch; }
	body .digital-panda-pick-card--4 h3 { max-width: 11ch; }

	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
		display: -webkit-box;
		flex: 0 1 auto;
		font-size: clamp(.61rem, .62vw, .72rem);
		line-height: 1.18;
		margin: .42rem 0 0;
		max-width: 18ch;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body .digital-panda-pick-card .digital-panda-card-arrow {
		bottom: .68rem;
		height: 1.85rem;
		position: absolute;
		right: .68rem;
		transform: none;
		width: 1.85rem;
		z-index: 5;
	}
}

/* Keep the reference composition usable on tablet and mobile: arrows scroll one full card. */
@media (max-width: 1100px) {
	body .digital-panda-picks__inner {
		display: block;
	}

	body .digital-panda-picks__intro {
		margin-bottom: 1.5rem;
	}

	body .digital-panda-picks__cards {
		display: flex;
		gap: 1rem;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding: .75rem .35rem 1.25rem;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	body .digital-panda-picks__cards::-webkit-scrollbar { display: none; }
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		flex: 0 0 min(20rem, 78vw);
		height: 23rem;
		scroll-snap-align: start;
		transform: none;
	}

	body .digital-panda-pick-card--2 { height: 24rem; }
	body .digital-panda-pick-card__image { flex-basis: 58%; height: auto; }
	body .digital-panda-pick-card__content { padding-bottom: 2.7rem; }
}

@media (max-width: 640px) {
	body .digital-panda-picks__intro { margin-bottom: 1.1rem; }
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		flex-basis: min(20rem, 84vw);
		height: 22rem;
	}
	body .digital-panda-pick-card--2 { height: 23rem; }
	body .digital-panda-pick-card__content { padding: .7rem 3rem 2.6rem .9rem; }
	body .digital-panda-pick-card h3 { font-size: 1.18rem; }
}

/* v1.9.35: readable Editor's Pick slider with a large active card and visible descriptions. */
body .digital-panda-picks__cards {
	align-items: stretch;
	display: flex;
	gap: clamp(.9rem, 1.2vw, 1.25rem);
	grid-template-columns: none;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 1.5rem .35rem 2rem;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

body .digital-panda-picks__cards::-webkit-scrollbar { display: none; }

body .digital-panda-pick-card,
body .digital-panda-pick-card--1,
body .digital-panda-pick-card--2,
body .digital-panda-pick-card--3,
body .digital-panda-pick-card--4 {
	box-sizing: border-box;
	flex: 0 0 clamp(15rem, 15vw, 17rem);
	height: auto;
	min-height: 24rem;
	scroll-snap-align: start;
	transform: none;
}

body .digital-panda-pick-card--1 {
	flex-basis: clamp(21rem, 26vw, 28rem);
}

body .digital-panda-pick-card--2,
body .digital-panda-pick-card--3,
body .digital-panda-pick-card--4 {
	margin-top: 1.25rem;
}

body .digital-panda-pick-card > a {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 100%;
}

body .digital-panda-pick-card__image,
body .digital-panda-pick-card--1 .digital-panda-pick-card__image {
	flex: 0 0 clamp(12rem, 17vw, 16rem);
	height: auto;
}

body .digital-panda-pick-card--1 .digital-panda-pick-card__image {
	flex-basis: clamp(13rem, 19vw, 18rem);
}

body .digital-panda-pick-card__content {
	box-sizing: border-box;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: auto;
	min-height: 11rem;
	overflow: visible;
	padding: 1rem 3.5rem 3.3rem 1.15rem;
	position: relative;
}

body .digital-panda-pick-card h3,
body .digital-panda-pick-card--1 h3,
body .digital-panda-pick-card--2 h3,
body .digital-panda-pick-card--3 h3,
body .digital-panda-pick-card--4 h3 {
	display: block;
	font-size: clamp(1.1rem, 1.45vw, 1.65rem);
	line-height: 1;
	max-width: none;
	overflow: visible;
	-webkit-line-clamp: unset;
}

body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
	display: block;
	font-size: clamp(.72rem, .76vw, .86rem);
	line-height: 1.35;
	margin: .6rem 0 0;
	max-width: 32ch;
	overflow: visible;
	-webkit-line-clamp: unset;
}

body .digital-panda-pick-card .digital-panda-card-arrow {
	bottom: .85rem;
	height: 2rem;
	position: absolute;
	right: .85rem;
	transform: none;
	width: 2rem;
}

@media (max-width: 1100px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		flex-basis: min(19rem, 78vw);
		min-height: 23rem;
	}

	body .digital-panda-pick-card--1 {
		flex-basis: min(22rem, 84vw);
	}

	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		margin-top: .75rem;
	}
}

@media (max-width: 640px) {
	body .digital-panda-pick-card,
	body .digital-panda-pick-card--1,
	body .digital-panda-pick-card--2,
	body .digital-panda-pick-card--3,
	body .digital-panda-pick-card--4 {
		flex-basis: min(19rem, 84vw);
		min-height: 22rem;
	}

	body .digital-panda-pick-card--1 { flex-basis: min(21rem, 88vw); }
	body .digital-panda-pick-card__content { padding: .85rem 3.1rem 3rem .95rem; }
	body .digital-panda-pick-card h3 { font-size: 1.25rem; }
	body .digital-panda-pick-card__content > p:not(.digital-panda-card-label) {
		font-size: .78rem;
		line-height: 1.35;
	}
}

/* v1.9.36: consistent dropdown hover states and balanced responsive header controls. */
@media (hover: hover) and (pointer: fine) and (min-width: 1221px) {
	body .digital-panda-primary-nav__group:hover .digital-panda-primary-nav__dropdown,
	body .digital-panda-primary-nav__group:focus-within .digital-panda-primary-nav__dropdown {
		display: grid;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}
}

@media (max-width: 1220px) {
	body .digital-panda-header-inner {
		align-items: center !important;
		column-gap: clamp(.7rem, 2.4vw, 1.1rem) !important;
		flex-wrap: nowrap !important;
	}

	body .digital-panda-brand-lockup {
		flex: 1 1 auto;
		min-width: 0;
	}

	body .digital-panda-header-actions {
		align-items: center;
		column-gap: clamp(.65rem, 2.2vw, 1rem);
		flex: 0 0 auto;
		margin-left: auto;
	}

	body .digital-panda-header-actions__links {
		align-items: center;
		column-gap: clamp(.65rem, 2.2vw, 1rem);
	}

	body .digital-panda-primary-nav {
		flex: 0 0 auto;
		margin-left: 0;
	}

	body .digital-panda-mobile-menu-toggle,
	body .digital-panda-header-actions > .dp-search-toggle,
	body .digital-panda-account-link__icon,
	body .dp-account-link__icon {
		flex: 0 0 2.7rem;
		height: 2.7rem;
		min-height: 2.7rem;
		min-width: 2.7rem;
		width: 2.7rem;
	}

	body .digital-panda-primary-nav__panel {
		gap: 0;
	}

	body .digital-panda-primary-nav__dropdown {
		grid-template-columns: 1fr;
	}

	body .digital-panda-primary-nav__mobile-actions {
		align-items: flex-start;
		justify-items: start;
	}

	body .digital-panda-primary-nav__mobile-actions .dp-mobile-write-link {
		align-items: center;
		display: inline-flex;
		justify-self: start;
		margin-top: .45rem;
		max-width: 100%;
		min-height: 2.8rem;
		padding: .7rem 1.15rem;
		width: max-content;
	}
}

@media (max-width: 767px) {
	body .digital-panda-header-inner {
		column-gap: .7rem !important;
		width: calc(100% - 1.5rem);
	}

	body .digital-panda-header-actions,
	body .digital-panda-header-actions__links {
		column-gap: .7rem;
	}

	body .digital-panda-mobile-menu-toggle,
	body .digital-panda-header-actions > .dp-search-toggle,
	body .dp-account-link__icon {
		flex-basis: 2.65rem;
		height: 2.65rem;
		min-height: 2.65rem;
		min-width: 2.65rem;
		width: 2.65rem;
	}

	body .digital-panda-primary-nav__panel {
		padding: 1rem 1.1rem 1.25rem;
	}

	body .digital-panda-primary-nav__panel > a,
	body .digital-panda-primary-nav__trigger {
		min-height: 3.25rem;
		padding-block: .85rem;
	}

	body .digital-panda-primary-nav__dropdown a {
		min-height: 2.85rem;
		padding-block: .7rem;
	}
}

@media (max-width: 420px) {
	body .digital-panda-header-inner {
		column-gap: .5rem !important;
		width: calc(100% - 1rem);
	}

	body .digital-panda-header-actions,
	body .digital-panda-header-actions__links {
		column-gap: .5rem;
	}

	body .digital-panda-mobile-menu-toggle,
	body .digital-panda-header-actions > .dp-search-toggle,
	body .dp-account-link__icon {
		flex-basis: 2.5rem;
		height: 2.5rem;
		min-height: 2.5rem;
		min-width: 2.5rem;
		width: 2.5rem;
	}
}

/* v1.9.37: consolidated navigation geometry for desktop, tablet, and mobile. */
body .digital-panda-site-header {
	z-index: 200;
}

body .digital-panda-brand-lockup__link {
	min-width: 0;
}

body .digital-panda-brand-mark {
	aspect-ratio: 1;
	flex: 0 0 auto;
	object-fit: contain;
}

@media (min-width: 1221px) {
	body .digital-panda-primary-nav__panel {
		align-items: center;
		gap: clamp(.9rem, 1.4vw, 1.55rem);
	}

	body .digital-panda-primary-nav__group {
		flex: 0 0 auto;
	}

	body .digital-panda-primary-nav__dropdown {
		left: 50%;
		min-width: 13rem;
		top: calc(100% + .35rem);
		transform: translate(-50%, -.35rem);
	}

	body .digital-panda-primary-nav__group:hover .digital-panda-primary-nav__dropdown,
	body .digital-panda-primary-nav__group:focus-within .digital-panda-primary-nav__dropdown,
	body .digital-panda-primary-nav__dropdown:not([hidden]) {
		transform: translate(-50%, 0);
	}

	body .digital-panda-primary-nav__group::after {
		content: '';
		inset: 100% -1.5rem auto;
		position: absolute;
		height: .45rem;
	}
}

@media (max-width: 1220px) {
	body .digital-panda-header-inner {
		box-sizing: border-box;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto auto !important;
		min-height: 4.75rem;
		padding-block: .7rem;
		width: calc(100% - 2rem);
	}

	body .digital-panda-brand-lockup {
		grid-column: 1;
		grid-row: 1;
		max-width: 100%;
		width: 100%;
	}

	body .digital-panda-brand-lockup__link {
		gap: .55rem;
		max-width: 100%;
	}

	body .digital-panda-brand-mark {
		height: 2.8rem;
		width: 2.8rem;
	}

	body .digital-panda-brand-lockup__name {
		font-size: clamp(1rem, 2.2vw, 1.3rem);
		max-width: 7rem;
	}

	body .digital-panda-header-actions {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		margin: 0;
	}

	body .digital-panda-primary-nav {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		margin: 0;
		position: static;
		width: auto;
	}

	body .digital-panda-primary-nav__panel {
		box-sizing: border-box;
		left: 0;
		max-height: calc(100dvh - 4.75rem);
		right: 0;
		top: 100%;
		width: auto;
		z-index: 205;
	}

	body .digital-panda-primary-nav__panel > a,
	body .digital-panda-primary-nav__trigger {
		box-sizing: border-box;
		min-height: 3.15rem;
	}

	body .digital-panda-primary-nav__dropdown {
		grid-template-columns: 1fr;
	}

	body .digital-panda-primary-nav__mobile-actions {
		align-items: flex-start;
		justify-items: start;
	}

	body .digital-panda-primary-nav__mobile-actions .dp-mobile-write-link {
		align-items: center;
		display: inline-flex;
		justify-self: start;
		max-width: 100%;
		width: max-content;
	}
}

@media (max-width: 900px) {
	body .digital-panda-header-inner {
		column-gap: clamp(.55rem, 2vw, .85rem) !important;
		min-height: 4.5rem;
		width: calc(100% - 1.5rem);
	}

	body .digital-panda-header-actions,
	body .digital-panda-header-actions__links {
		column-gap: clamp(.55rem, 2vw, .8rem);
	}

	body .dp-account-link > span:last-child {
		font-size: 0;
	}

	body .digital-panda-brand-mark {
		height: 2.6rem;
		width: 2.6rem;
	}

	body .digital-panda-primary-nav__panel {
		max-height: calc(100dvh - 4.5rem);
	}
}

@media (max-width: 420px) {
	body .digital-panda-header-inner {
		column-gap: .45rem !important;
		width: calc(100% - 1rem);
	}

	body .digital-panda-header-actions,
	body .digital-panda-header-actions__links {
		column-gap: .45rem;
	}

	body .digital-panda-brand-mark {
		height: 2.35rem;
		width: 2.35rem;
	}

	body .digital-panda-brand-lockup__name {
		font-size: .92rem;
	}

	body .digital-panda-mobile-menu-toggle,
	body .digital-panda-header-actions > .dp-search-toggle,
	body .dp-account-link__icon {
		flex-basis: 2.5rem;
		height: 2.5rem;
		min-height: 2.5rem;
		min-width: 2.5rem;
		width: 2.5rem;
	}

	body .digital-panda-primary-nav__panel {
		max-height: calc(100dvh - 4.25rem);
	}
}
