.gp-home-instagram {
	background: #fff;
	color: #15158f;
	padding: clamp(56px, 7vw, 104px) 0;
}

.gp-home-instagram__heading {
	margin-bottom: 34px;
	text-align: center;
}

.gp-home-instagram__heading h2 {
	color: #15158f;
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 500;
	letter-spacing: .02em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.gp-home-instagram__heading p {
	color: #272727;
	font-size: clamp(17px, 1.5vw, 22px);
	margin: 0;
}

.gp-home-instagram__heading a,
.gp-home-instagram__footer a {
	color: #15158f;
}

.gp-home-instagram__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
}

.gp-home-instagram__card {
	aspect-ratio: 1 / 1;
	display: block;
	overflow: hidden;
	position: relative;
}

.gp-home-instagram__card img {
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.gp-home-instagram__card:hover img,
.gp-home-instagram__card:focus-visible img {
	transform: scale(1.035);
}

.gp-home-instagram__caption {
	align-items: flex-end;
	background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 45, .82));
	bottom: 0;
	color: #fff;
	display: flex;
	font-size: clamp(14px, 1.1vw, 18px);
	inset-inline: 0;
	line-height: 1.4;
	min-height: 45%;
	padding: clamp(16px, 2vw, 30px);
	position: absolute;
}

.gp-home-instagram__footer {
	margin-top: 30px;
	text-align: center;
}

.gp-home-instagram__footer a {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.gp-home-instagram {
		padding: 48px 0 60px;
	}

	.gp-home-instagram__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gp-home-instagram__caption {
	display: none;
	}
}
