/* --------------------------------------------- */
ul.album_area{
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: center;
	justify-content: flex-start;
	width: 100%;

}
ul.album_area li{
	width: calc(100% / 4 - (3 * 1.25rem ) / 4);
	list-style-type: none;
	max-width: unset;
}
.album_area .card_img {
	box-shadow: rgb(50 50 93 / 25%) 0px 13px 27px -5px, rgb(0 0 0 / 30%) 0px 8px 16px -8px;
    border-radius: 25px;
    overflow: hidden;
	padding-top: 74.93%;
}

.album_area  .swiper-wrapper{
    -webkit-transition-timing-function: linear; /*之前是ease-out*/
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
}

.album_area a {
    display: block;
    padding: 40px 20px 40px 20px;
	padding: 0;
    transition: all .2s ease;
	position: relative;
}
.album_area a .card_img{
    position: relative;
}
.album_area a .card_img img{
	width:100%;
	height:auto;
	transition: all 0.3s ease-out;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	float: none;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: all 0.3s ease-out;
}
.album_area .photo_name{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	height: 100%;
	background-color: var(--primary_color);
	background-color: #12331ba3;
	width: 100%;
    opacity: 1;
	visibility: hidden;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: .625rem;

}
.album_area .photo_name span{
	display: block;
	padding: 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2; 
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5;

}
.album_area .photo_name span.date{
	display: block;
	text-align: center;
	font-size: .875rem;
	color: var(--second_color);

}
.album_area a:hover .photo_name{
    opacity: 1;
	visibility: visible;
}
.album_area a .card_img::before{
	content: '';
	position: absolute;
	left: -1px;
	top:-1px;
	width: 100px;
	height: auto;
	background-image:url(../../../images/img_icon.svg) ;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 2;
	aspect-ratio: 191 / 150;
}



/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
	ul.album_area li{
		width: calc(100% / 3 - (2 * 1.25rem ) / 3);
		list-style-type: none;
		max-width: unset;
	}
	.album_area a .card_img::before{
		
		
		width: 80px;
		
	}
}

@media(max-width:990px){
	ul.album_area li{
		width: calc(100% / 3 - (2 * 1.25rem ) / 3);
		
	}
}
@media(max-width:640px){
	ul.album_area li{
		width: calc(100% / 2 - 1.25rem / 2);
		
	}
}


@media (max-width: 540px){
		ul.album_area li{
			width: 100%;
			
		}
}