/**
 * Homepage + index OpenSea collection cards.
 * ~29% secondary (GN Blue) band on homepage.
 */

.apechain-home-section--opensea {
	background: var(--apechain-gradient-secondary);
	color: var(--apechain-text-on-secondary);
}

.apechain-home-section--opensea .apechain-section-header h2,
.apechain-home-section--opensea .apechain-section-header p {
	color: inherit;
}

.apechain-home-section--opensea .text-muted {
	color: rgba(226, 240, 255, 0.75) !important;
}

.apechain-home-section--opensea .btn-outline-primary {
	color: var(--apechain-gm-blue);
	border-color: rgba(226, 240, 255, 0.55);
}

.apechain-home-section--opensea .btn-outline-primary:hover {
	background: var(--apechain-primary);
	border-color: var(--apechain-primary);
	color: var(--apechain-text-on-primary);
}

.apechain-home-section--opensea .container {
	max-width: 1140px;
	width: 100%;
}

.apechain-os-home-grid {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

.apechain-os-home-grid > [class*="col-"] {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.apechain-os-home-grid > .col-md-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

@media (min-width: 576px) {
	.apechain-os-home-grid > .col-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

.apechain-os-collection-card {
	display: block;
	width: 100%;
	border: none;
	border-radius: 0.5rem;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
	box-shadow: 0 0 0 1px rgba(226, 240, 255, 0.15);
	color: var(--apechain-text-on-secondary);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apechain-os-collection-card:hover,
.apechain-os-collection-card:focus {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.35);
}

.apechain-os-collection-card__media {
	line-height: 0;
	background: var(--apechain-anchor-black);
}

.apechain-os-collection-card__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.apechain-os-collection-card__placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, var(--apechain-secondary), var(--apechain-anchor-black));
}

.apechain-os-collection-card .card-body {
	padding: 0.75rem;
}

.apechain-os-collection-card .card-title {
	color: #fff;
}

.apechain-os-collection-card__cta {
	color: var(--apechain-gm-blue);
}

.apechain-os-home-pagination .page-link {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(226, 240, 255, 0.25);
	color: var(--apechain-gm-blue);
}

.apechain-os-home-pagination .page-item.active .page-link {
	background: var(--apechain-primary);
	border-color: var(--apechain-primary);
	color: var(--apechain-text-on-primary);
}

/* Collection landing page */
.apechain-os-collection-page .apechain-os-collection-hero__avatar {
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(0, 39, 135, 0.15);
}

.apechain-os-collection-page .apechain-os-collection-grid .apechain-os-nft-card {
	height: 100%;
}

.apechain-os-lazy-sentinel {
	height: 1px;
	width: 100%;
	pointer-events: none;
}

.apechain-os-lazy-loader .spinner-border {
	vertical-align: middle;
}

.apechain-os-lazy-end {
	margin-bottom: 0;
}
