/* Core Fashion - gallery cards (7 makeup styles, 4 + 3) */
.gallery .cards{
	display:flex;flex-wrap:wrap;justify-content:center;
	max-width:1440px;margin-left:auto;margin-right:auto;padding:0 13px;box-sizing:border-box;
}
.gallery .cards .cell{width:25%;box-sizing:border-box;padding:0 13px;margin-bottom:40px;}
.gallery .cards .cell .inner{
	height:100%;box-sizing:border-box;background-color:#fff;border-radius:18px;
	box-shadow:0 10px 30px rgba(0,0,0,.07);padding:30px 22px 22px;text-align:center;
	transition:box-shadow .4s ease, transform .4s ease;
}
.gallery .cards .cell .inner:hover{box-shadow:0 18px 44px rgba(0,0,0,.14);transform:translateY(-4px);}
.gallery .cards .cell .title{
	font-family:'Noto Serif TC','Bodoni Moda',serif;
	font-size:22px;font-weight:600;color:#3a332f;letter-spacing:2px;line-height:1.45;
}
.gallery .cards .cell .title:after{content:"";display:block;width:36px;height:2px;background-color:#ceae97;margin:14px auto 0;}
.gallery .cards .cell .desc{margin-top:14px;color:#9a9a9a;font-size:13px;line-height:1.8;letter-spacing:.5px;}
.gallery .cards .cell .photo{position:relative;margin-top:20px;border-radius:12px;overflow:hidden;background-color:#f7f3f1;}
.gallery .cards .cell .photo:before{content:"";display:block;padding-top:130%;}
.gallery .cards .cell .photo img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;}
.gallery .cards .cell .photo.empty:after{
	content:"照片準備中";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
	color:#a2958a;font-size:14px;letter-spacing:3px;white-space:nowrap;font-family:'Noto Serif TC',serif;
}
@media (max-width:1199px){
	.gallery .cards .cell .title{font-size:19px;}
}
@media (max-width:999px){
	.gallery .cards .cell{width:33.3333%;}
}
@media (max-width:699px){
	.gallery .cards{padding:0 8px;max-width:none;}
	.gallery .cards .cell{width:50%;padding:0 8px;margin-bottom:22px;}
	.gallery .cards .cell .inner{padding:20px 14px 14px;border-radius:14px;}
	.gallery .cards .cell .title{font-size:17px;letter-spacing:1px;}
	.gallery .cards .cell .title:after{width:28px;margin-top:10px;}
	.gallery .cards .cell .photo{margin-top:14px;}
	.gallery .cards .cell .photo.empty:after{font-size:12px;letter-spacing:1.5px;}
}

/* Core Fashion - "參閱更多作品" button（品牌色 #ceae97）*/
.gallery .cards .cell .more{
	display:inline-block;margin-top:20px;padding:10px 24px;border-radius:999px;
	background-color:#ceae97;color:#fff;font-size:14px;letter-spacing:2px;
	font-family:'Noto Serif TC',serif;text-decoration:none;
	transition:background-color .3s ease;
}
.gallery .cards .cell .more:hover{background-color:#bb9d84;color:#fff;}

/* single makeup style page */
.gallery_detail{box-sizing:border-box;padding:82px 20px 90px;}
.gallery_detail .wrap{max-width:1200px;margin:0 auto;}
.gallery_detail .title{text-align:center;font-family:'Bodoni Moda','Noto Serif TC',serif;font-size:40px;color:#3a332f;letter-spacing:1px;line-height:1.4;}
.gallery_detail .title:after{content:"";display:block;width:44px;height:2px;background-color:#ceae97;margin:16px auto 0;}
.gallery_detail .content{margin-top:22px;text-align:center;}
.gallery_detail .photos{display:flex;flex-wrap:wrap;justify-content:center;margin:44px -12px 0;}
.gallery_detail .photos .cell{width:33.3333%;box-sizing:border-box;padding:0 12px;margin-bottom:26px;}
.gallery_detail .photos .box{position:relative;padding-top:130%;border-radius:12px;overflow:hidden;background-color:#f7f3f1;box-shadow:0 8px 24px rgba(0,0,0,.07);}
.gallery_detail .photos .box img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;}
.gallery_detail .empty{text-align:center;color:#a2958a;font-size:15px;letter-spacing:1px;margin-top:44px;}
.gallery_detail .back{display:block;width:200px;margin:46px auto 0;padding:12px 0;text-align:center;border:1px solid #b59278;border-radius:999px;color:#b59278;font-size:14px;letter-spacing:2px;text-decoration:none;transition:background-color .3s,color .3s;}
.gallery_detail .back:hover{background-color:#b59278;color:#fff;}
@media (max-width:699px){
	.gallery_detail{padding:40px 14px 60px;}
	.gallery_detail .title{font-size:26px;}
	.gallery_detail .photos{margin:30px -8px 0;}
	.gallery_detail .photos .cell{width:50%;padding:0 8px;margin-bottom:16px;}
	.gallery .cards .cell .more{margin-top:14px;padding:8px 16px;font-size:13px;letter-spacing:1px;}
}

/* description block under the style title on a style page */
.gallery_detail .desc{max-width:780px;margin:30px auto 0;text-align:center;color:#6f6862;font-size:16px;line-height:2;letter-spacing:.4px;}
.gallery_detail .desc .editor{line-height:2;}
.gallery_detail .desc p{margin:0 0 14px;}
.gallery_detail .desc p:last-child{margin-bottom:0;}
.gallery_detail .desc .placeholder{color:#bdb3aa;font-size:14px;letter-spacing:2px;margin:0;}
@media (max-width:699px){
	.gallery_detail .desc{margin-top:18px;font-size:15px;line-height:1.9;}
}
