.magazine-section {
	position: relative;
	width: 100%;
	padding: 32px 0 48px;
}

.magazine-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.magazine-section .magazine {
	position: relative;
}

.magazine-section .magazine.animated {
	-webkit-transition: margin-left 0.5s;
	-moz-transition:    margin-left 0.5s;
	-ms-transition:     margin-left 0.5s;
	-o-transition:      margin-left 0.5s;
	transition:         margin-left 0.5s;
}

.magazine-section .page {
	aspect-ratio: 1 / 1.414;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.magazine-section .page img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
}

.magazine-section .even .gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
}

.magazine-section .odd .gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
}

.magazine-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	width: 35px;
	height: 35px;
	border-radius: 0;
	border: 1px solid #E01B24;
	background: #E01B24;
	color: transparent;
	font-size: 0;
	cursor: pointer;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: background-color 200ms ease, border-color 200ms ease;
	transition: background-color 200ms ease, border-color 200ms ease;
	padding: 0;
	opacity: 1;
}

.magazine-arrow::before {
	content: '';
	display: block;
	width: 19px;
	height: 19px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

.magazine-arrow--prev::before {
	transform: scaleX(-1);
}

.magazine-arrow:hover {
	background-color: #2D2C30;
	border-color: #2D2C30;
}

.magazine-arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.magazine-arrow--prev {
	left: 10px;
}

.magazine-arrow--next {
	right: 10px;
}

.magazine-controls {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
	width: 100%;
}

#magazine-slider {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	height: 6px;
	cursor: pointer;
	accent-color: #E01B24;
}

#current-page,
.magazine-page-total {
	font-size: 14px;
	color: #555;
	white-space: nowrap;
	min-width: 2ch;
}
