/* Pertify Pulse — storefront SEO surfaces (home, PDP, legacy). */

/*
 * Home strip is placed just before #main-footer.
 * Divi sticky filters use position:fixed; z-index:10000 — stack above that.
 */
.ao-pulse-home {
	display: block !important;
	clear: both !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 2.5rem 0 2.25rem !important;
	position: relative !important;
	z-index: 10001 !important;
	isolation: isolate;
	background: #fafaf9 !important;
	background-image: linear-gradient(180deg, #fafaf9 0%, #ffffff 55%) !important;
	border-top: 1px solid #e7e5e4;
	border-bottom: 1px solid #e7e5e4;
	color: #1c1917;
	min-height: 280px;
}

.ao-pulse-home__inner {
	width: 80%;
	max-width: none;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 0.5rem;
}

.ao-pulse-home__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0 0 1.35rem;
}

.ao-pulse-home__title {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	color: #0c0a09;
	font-weight: 600;
}

.ao-pulse-home__all {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.95rem;
	color: #b45309 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.ao-pulse-home__all:hover {
	color: #92400e !important;
}

.ao-pulse-home__viewport {
	position: relative;
	display: block;
}

/* Side nav buttons */
.ao-pulse-home__nav {
	position: absolute;
	top: 38%;
	transform: translateY(-50%);
	z-index: 3;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #e7e5e4;
	border-radius: 2px;
	background: #fff;
	color: #1c1917;
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(28, 25, 23, 0.08);
	display: none;
	align-items: center;
	justify-content: center;
}

.ao-pulse-home--scrollable .ao-pulse-home__nav {
	display: inline-flex;
}

.ao-pulse-home__nav:hover:not(:disabled) {
	background: #1c1917;
	border-color: #1c1917;
	color: #fafaf9;
}

.ao-pulse-home__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.ao-pulse-home__nav--prev {
	left: -8px;
}

.ao-pulse-home__nav--next {
	right: -8px;
}

.ao-pulse-home__nav span {
	display: block;
	margin-top: -2px;
}

/* Track: hide scrollbar; nav buttons control scroll. Touch swipe still works. */
.ao-pulse-home__track,
.ao-pulse-home__track.owl-carousel,
.ao-pulse-home__track.owl-loaded {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 16px;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0 2.75rem 0.25rem;
	margin: 0;
	width: 100% !important;
	height: auto !important;
	min-height: 220px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ao-pulse-home__track::-webkit-scrollbar {
	display: none;
	height: 0;
}

.ao-pulse-home__track .owl-stage-outer,
.ao-pulse-home__track .owl-stage,
.ao-pulse-home__track .owl-item {
	display: contents !important;
	width: auto !important;
	transform: none !important;
}

.ao-pulse-home__card {
	flex: 0 0 calc((100% - 48px) / 4) !important;
	width: calc((100% - 48px) / 4) !important;
	max-width: none;
	min-width: 180px;
	scroll-snap-align: start;
	padding: 0;
	box-sizing: border-box;
	display: block !important;
	float: none !important;
	height: auto !important;
}

.ao-pulse-home__link {
	display: block !important;
	color: inherit;
	text-decoration: none !important;
}

.ao-pulse-home__media {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 2px;
	background: #e7e5e4;
	margin-bottom: 0.75rem;
	width: 100%;
}

.ao-pulse-home__img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	min-height: 160px;
}

.ao-pulse-home__img--placeholder {
	min-height: 160px;
	background: linear-gradient(135deg, #e7e5e4 0%, #fafaf9 100%);
}

.ao-pulse-home__card-title {
	margin: 0 0 0.35rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 600;
	color: #0c0a09;
	letter-spacing: 0.01em;
}

.ao-pulse-home__link:hover .ao-pulse-home__card-title {
	color: #b45309;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ao-pulse-home__date {
	display: block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
	color: #78716c;
}

/* PDP story link */
.ao-pdp-pulse-link {
	margin: 0.75rem 0 1rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.95rem;
	line-height: 1.45;
}

.ao-pdp-pulse-link a {
	color: #b45309;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ao-pdp-pulse-link a:hover {
	color: #92400e;
}

/* Legacy blog cross-links */
.ao-pulse-legacy {
	margin: 2.5rem auto 1.5rem;
	max-width: 760px;
	padding: 1.5rem 1.25rem;
	border-top: 1px solid #e7e5e4;
	border-bottom: 1px solid #e7e5e4;
	background: linear-gradient(180deg, #fafaf9 0%, #fff 100%);
	color: #1c1917;
}

.ao-pulse-legacy h2 {
	margin: 0 0 0.75rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.35rem;
	letter-spacing: 0.02em;
	color: #0c0a09;
}

.ao-pulse-legacy__hub {
	margin: 0 0 0.85rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.95rem;
}

.ao-pulse-legacy__hub a,
.ao-pulse-legacy__list a {
	color: #b45309;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ao-pulse-legacy__list {
	margin: 0;
	padding-left: 1.15rem;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.65;
}

.ao-pulse-legacy__list li {
	margin: 0.35rem 0;
}

@media (max-width: 1100px) {
	.ao-pulse-home__card {
		flex-basis: calc((100% - 32px) / 3) !important;
		width: calc((100% - 32px) / 3) !important;
	}
}

@media (max-width: 767px) {
	.ao-pulse-home {
		padding: 1.75rem 0 1.5rem !important;
		z-index: 5 !important;
		min-height: 240px;
	}

	.ao-pulse-home__inner {
		width: 92%;
	}

	.ao-pulse-home__title {
		font-size: 1.25rem;
	}

	.ao-pulse-home__track {
		padding: 0 0.15rem 0.25rem;
		gap: 12px;
	}

	.ao-pulse-home__nav {
		display: none !important;
	}

	.ao-pulse-home__card {
		flex-basis: min(78vw, 240px) !important;
		width: min(78vw, 240px) !important;
	}
}
