/* sections/section-app-promo.min.css */

.s-app-promo__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

@media screen and (min-width: 768px) {
	.s-app-promo__container {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

/* Media */

.s-app-promo__media {
	display: none;
}

.s-app-promo__media-mobile {
	display: flex;
	justify-content: center;
}

@media screen and (min-width: 768px) {
	.s-app-promo__media {
		display: flex;
		justify-content: center;
	}
	.s-app-promo__media-mobile {
		display: none;
	}
}

.s-app-promo__media img,
.s-app-promo__media svg {
	width: 100%;
	height: auto;
	max-width: 420px;
}

.s-app-promo__placeholder {
	width: 100%;
	max-width: 420px;
	height: auto;
	color: rgba(var(--color-foreground), 0.15);
}

.s-app-promo__video-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: var(--video-aspect-ratio, 1);
}

.s-app-promo__media video,
.s-app-promo__media iframe {
    width: 100%;
    height: 100%;
    max-width: 420px;
    object-fit: contain;
}

/* Content */

.s-app-promo__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.s-app-promo__header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.s-app-promo__header p {
	margin: 0;
}

/* App Store Badges */

.s-app-promo__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
}

.s-app-promo__badge {
	display: inline-flex;
	align-items: center;
}

.s-app-promo__badge img {
	height: 50px !important;
	width: auto !important;
	display: block;
}

@media screen and (max-width: 767px) {
	.s-app-promo__badge img {
		height: 50px !important;
	}
}

.s-app-promo__badge-fallback {
	display: inline-flex;
	align-items: center;
	height: 50px;
	padding: 0 1.5rem;
	background: var(--color-foreground, #000);
	color: var(--color-background, #fff);
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	white-space: nowrap;
}

@media screen and (max-width: 767px) {
	.s-app-promo__badge-fallback {
		height: 50px;
		padding: 0 1.25rem;
		font-size: 1rem;
	}
}

/* Feature Boxes */

.s-app-promo__features {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 0.5rem;
}

@media screen and (min-width: 480px) {
	.s-app-promo__features {
		grid-template-columns: 1fr 1fr;
	}
}

.s-app-promo__feature {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid rgba(var(--color-foreground), 0.12);
	border-radius: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.s-app-promo__feature-heading-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.s-app-promo__feature-icon {
	flex-shrink: 0;
}

.s-app-promo__feature-heading {
	font-family: var(--font-display);
	font-size: var(--font-responsive-sm);
	font-weight: 700;
	margin: 0;
}

.s-app-promo__feature-text {
	font-family: var(--font-body-light);
	font-size: var(--font-responsive-xxs);
	line-height: 1.5;
	margin: 0;
	color: var(--text);
}

.s-app-promo__feature-text p {
	margin: 0;
}