.modal {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	transition: 1s;
	z-index: 5000;
	text-align: center;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.modal-content {
	background-color: #fefefe;
	display: flex;
	flex-direction: row;
	border: 1px solid #888;
	width: fit-content;
	transition: 1s;
	position: relative;
}

.modal-intro {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 50%;
	max-width: 600px;
	white-space: pre-line;
}

/* @media (max-width: 700) {
	.modal-intro {
		font-size: 13px;
	}

	.modal-intro .top {
		padding: 12px;
	}

	.modal-intro .top .follow {
		padding: 4px 12px;
		font-size: 12px;
	}

	.modal-intro .top .user {
		font-size: 14px;
	}

	.modal-intro .bottom {
		padding: 12px;
	}
} */

.swiper.album {
	width: 50%;
	width: 600px;
	height: 100%;
}

@media screen and (min-width: 800) {
	.modal-intro {
		min-width: 600px;
	}

	.swiper.album {
		min-width: 600px;
	}
}

@media screen and (max-width: 800px) {
	.modal-content {
		flex-direction: column;
	}

	.modal-intro {
		width: 100%;
	}

	.swiper.album {
		width: 100%;
	}
}

.modal-intro .top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #e6e6e6;
	padding: 20px;
	width: 100%;
}

.modal-intro .body {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modal-intro .body p {
	padding: 0 20px;
	text-align: start;
}

.modal-intro .bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #e6e6e6;
	padding: 20px;
	width: 100%;
}

.modal-intro .top .user {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
}

.modal-intro .top .user img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.modal-intro .top .follow {
	background-color: #5b87e6;
	padding: 8px 16px;
	border-radius: 5px;
	color: #fff;
	font-weight: 500;
	font-size: 14px;
}

.close {
	color: #aaa;
	position: absolute;
	top: -15px;
	right: 5px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10;
}

.close:hover,
.close:focus {
	color: black;
}

.modal-image {
	width: 100%;
	object-fit: cover;
}

.modal-video {
	width: 100%;
	object-fit: cover;
}

a.grid-item {
	cursor: pointer;
}

.swiper-pagination-bullet-active {
	background-color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
	color: #fff;
}

.swiper-slide {
	line-height: 0;
}

.modal-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
	position: absolute;
	top: var(--swiper-navigation-top-offset, 50%);
	width: calc(var(--swiper-navigation-size) / 44 * 27);
	height: var(--swiper-navigation-size);
	margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
	z-index: 10;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
}

.swiper-pagination-bullet-active {
	background-color: #fff;
}

.album-wrapper {
	aspect-ratio: 4 / 4;
}
